30
30
<code>#include <<a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>></code>
32
Inheritance diagram for schroot_listmounts::main:<p><center><img src="classschroot__listmounts_1_1main__inherit__graph.png" border="0" usemap="#schroot__listmounts_1_1main__inherit__map" alt="Inheritance graph"></center>
32
<div class="dynheader">
33
Inheritance diagram for schroot_listmounts::main:</div>
34
<div class="dynsection">
35
<p><center><img src="classschroot__listmounts_1_1main__inherit__graph.png" border="0" usemap="#schroot__listmounts_1_1main__inherit__map" alt="Inheritance graph"></center>
33
36
<map name="schroot__listmounts_1_1main__inherit__map">
34
<area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="21,5,147,32"></map>
35
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for schroot_listmounts::main:<p><center><img src="classschroot__listmounts_1_1main__coll__graph.png" border="0" usemap="#schroot__listmounts_1_1main__coll__map" alt="Collaboration graph"></center>
37
<area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="24,6,171,33"></map>
38
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
39
<div class="dynheader">
40
Collaboration diagram for schroot_listmounts::main:</div>
41
<div class="dynsection">
42
<p><center><img src="classschroot__listmounts_1_1main__coll__graph.png" border="0" usemap="#schroot__listmounts_1_1main__coll__map" alt="Collaboration graph"></center>
36
43
<map name="schroot__listmounts_1_1main__coll__map">
37
<area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="21,280,147,307"><area shape="rect" title="STL class." alt="" coords="47,173,121,200"><area shape="rect" title="program_usage\nprogram_name" alt="" coords="80,196,88,204"><area shape="rect" title="program_usage\nprogram_name" alt="" coords="80,276,88,284"><area shape="rect" title="STL class." alt="" coords="7,5,161,32"><area shape="rect" title="\< char \>" alt="" coords="80,28,88,36"><area shape="rect" title="\< char \>" alt="" coords="80,92,88,100"></map>
38
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classschroot__listmounts_1_1main-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
44
<area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="24,292,171,318"><area shape="rect" title="STL class." alt="" coords="55,180,140,206"><area shape="rect" title="STL class." alt="" coords="5,6,189,33"></map>
45
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
48
<a href="classschroot__listmounts_1_1main-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
40
50
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
41
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a> { <a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d95b7e611a6a00157da0c5802223589b96">FIND</a>,
42
<a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9c4f73f79c91f96db2d42d093b83403ec">OPEN</a>,
43
<a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d94e0b6163f30bdb2b8828e684434ebc74">CLOSE</a>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a> { <a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d95b7e611a6a00157da0c5802223589b96">FIND</a>
46
54
<tr><td class="mdescLeft"> </td><td class="mdescRight">Error codes. <a href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">More...</a><br></td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1custom__error.html">sbuild::custom_error</a><<br>
48
<a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#75ed48a8eed541e6d4a1b23afbbf9eb6">error</a></td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1custom__error.html">sbuild::custom_error</a><br>
56
< <a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#75ed48a8eed541e6d4a1b23afbbf9eb6">error</a></td></tr>
50
58
<tr><td class="mdescLeft"> </td><td class="mdescRight">Exception type. <a href="#75ed48a8eed541e6d4a1b23afbbf9eb6"></a><br></td></tr>
51
59
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
61
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">Run the program. <a href="#266e0d62ec45cb0c73b03d277205fe8a"></a><br></td></tr>
62
70
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#04b1ad4d9bb9272e2d682552d53a8ef8">list_mounts</a> (std::string const &mountfile) const </td></tr>
65
<tr><td class="mdescLeft"> </td><td class="mdescRight">List mounts (internal helper). <a href="#04b1ad4d9bb9272e2d682552d53a8ef8"></a><br></td></tr>
66
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#b2b9c3a546383be0a67d30b4353dab8c">action_listmounts</a> ()</td></tr>
68
73
<tr><td class="mdescLeft"> </td><td class="mdescRight">List mounts. <a href="#b2b9c3a546383be0a67d30b4353dab8c"></a><br></td></tr>
75
80
Frontend for <a class="el" href="namespaceschroot.html">schroot</a>.
77
82
This class is used to "run" <a class="el" href="namespaceschroot.html">schroot</a>.
81
Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00035">35</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.<hr><h2>Member Typedef Documentation</h2>
83
<p>Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00034">34</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.</p>
84
<hr><h2>Member Typedef Documentation</h2>
82
85
<a class="anchor" name="75ed48a8eed541e6d4a1b23afbbf9eb6"></a><!-- doxytag: member="schroot_listmounts::main::error" ref="75ed48a8eed541e6d4a1b23afbbf9eb6" args="" -->
83
86
<div class="memitem">
84
87
<div class="memproto">
85
88
<table class="memname">
87
<td class="memname">typedef <a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1custom__error.html">sbuild::custom_error</a><<a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a>> <a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/classsbuild_1_1custom__error.html">schroot_listmounts::main::error</a> </td>
90
<td class="memname">typedef <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1custom__error.html">sbuild::custom_error</a><<a class="el" href="classschroot__listmounts_1_1main.html#307c6e0e872cee2b5c37e1cba0d930d9">error_code</a>> <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1custom__error.html">schroot_listmounts::main::error</a> </td>
117
120
<table border="0" cellspacing="2" cellpadding="0">
118
121
<tr><td valign="top"><em><a class="anchor" name="307c6e0e872cee2b5c37e1cba0d930d95b7e611a6a00157da0c5802223589b96"></a><!-- doxytag: member="FIND" ref="307c6e0e872cee2b5c37e1cba0d930d95b7e611a6a00157da0c5802223589b96" args="" -->FIND</em> </td><td>
119
122
Failed to find file. </td></tr>
120
<tr><td valign="top"><em><a class="anchor" name="307c6e0e872cee2b5c37e1cba0d930d9c4f73f79c91f96db2d42d093b83403ec"></a><!-- doxytag: member="OPEN" ref="307c6e0e872cee2b5c37e1cba0d930d9c4f73f79c91f96db2d42d093b83403ec" args="" -->OPEN</em> </td><td>
121
Failed to open file. </td></tr>
122
<tr><td valign="top"><em><a class="anchor" name="307c6e0e872cee2b5c37e1cba0d930d94e0b6163f30bdb2b8828e684434ebc74"></a><!-- doxytag: member="CLOSE" ref="307c6e0e872cee2b5c37e1cba0d930d94e0b6163f30bdb2b8828e684434ebc74" args="" -->CLOSE</em> </td><td>
123
Failed to close file. </td></tr>
128
Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00039">39</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.
126
<p>Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00038">38</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.</p>
131
130
<hr><h2>Constructor & Destructor Documentation</h2>
181
Reimplemented from <a class="el" href="classschroot__base_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">schroot_base::main</a>.
183
Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00086">86</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.
179
<p>Reimplemented from <a class="el" href="classschroot__base_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">schroot_base::main</a>.</p>
181
<p>Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00081">81</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.</p>
186
185
<hr><h2>Member Function Documentation</h2>
187
<a class="anchor" name="04b1ad4d9bb9272e2d682552d53a8ef8"></a><!-- doxytag: member="schroot_listmounts::main::list_mounts" ref="04b1ad4d9bb9272e2d682552d53a8ef8" args="(std::string const &mountfile) const " -->
188
<div class="memitem">
189
<div class="memproto">
190
<table class="memname">
192
<td class="memname"><a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> main::list_mounts </td>
194
<td class="paramtype">std::string const & </td>
195
<td class="paramname"> <em>mountfile</em> </td>
196
<td> ) </td>
197
<td width="100%"> const<code> [private]</code></td>
204
List mounts (internal helper).
206
<dl compact><dt><b>Parameters:</b></dt><dd>
207
<table border="0" cellspacing="2" cellpadding="0">
208
<tr><td valign="top"></td><td valign="top"><em>mountfile</em> </td><td>the file containing the database of mounted filesystems. </td></tr>
213
Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00091">91</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.
215
References <a class="el" href="schroot-listmounts-main_8h-source.html#l00043">CLOSE</a>, <a class="el" href="schroot-listmounts-main_8h-source.html#l00041">FIND</a>, <a class="elRef" doxygen="sbuild.tag:/tmp/sr/schroot-1.1.5/doc/sbuild/html/" href="/tmp/sr/schroot-1.1.5/doc/sbuild/html/namespacesbuild.html#1334c1a94c9c653461074efd4580f26d">sbuild::normalname()</a>, and <a class="el" href="schroot-listmounts-main_8h-source.html#l00042">OPEN</a>.
217
Referenced by <a class="el" href="schroot-listmounts-main_8cc-source.html#l00133">action_listmounts()</a>.
219
Here is the caller graph for this function:<p><center><img src="classschroot__listmounts_1_1main_04b1ad4d9bb9272e2d682552d53a8ef8_icgraph.png" border="0" usemap="#classschroot__listmounts_1_1main_04b1ad4d9bb9272e2d682552d53a8ef8_icgraph_map" alt=""></center>
220
<map name="classschroot__listmounts_1_1main_04b1ad4d9bb9272e2d682552d53a8ef8_icgraph_map">
221
<area shape="rect" href="classschroot__listmounts_1_1main.html#b2b9c3a546383be0a67d30b4353dab8c" title="List mounts." alt="" coords="280,5,539,32"><area shape="rect" href="classschroot__listmounts_1_1main.html#266e0d62ec45cb0c73b03d277205fe8a" title="Run the program." alt="" coords="587,5,800,32"></map>
225
186
<a class="anchor" name="b2b9c3a546383be0a67d30b4353dab8c"></a><!-- doxytag: member="schroot_listmounts::main::action_listmounts" ref="b2b9c3a546383be0a67d30b4353dab8c" args="()" -->
226
187
<div class="memitem">
227
188
<div class="memproto">
245
Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00133">133</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.
247
References <a class="el" href="schroot-listmounts-main_8cc-source.html#l00091">list_mounts()</a>.
249
Referenced by <a class="el" href="schroot-listmounts-main_8cc-source.html#l00147">run_impl()</a>.
251
Here is the caller graph for this function:<p><center><img src="classschroot__listmounts_1_1main_b2b9c3a546383be0a67d30b4353dab8c_icgraph.png" border="0" usemap="#classschroot__listmounts_1_1main_b2b9c3a546383be0a67d30b4353dab8c_icgraph_map" alt=""></center>
205
<p>Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00086">86</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.</p>
207
<p>References <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/structsbuild_1_1mntstream_1_1mntentry.html#6da322abfab9ec581c8332b50c048433">sbuild::mntstream::mntentry::directory</a>, <a class="el" href="schroot-listmounts-main_8h-source.html#l00040">FIND</a>, and <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/namespacesbuild.html#1334c1a94c9c653461074efd4580f26d">sbuild::normalname()</a>.</p>
209
<p>Referenced by <a class="el" href="schroot-listmounts-main_8cc-source.html#l00127">run_impl()</a>.</p>
212
<div class="dynheader">
213
Here is the caller graph for this function:</div>
214
<div class="dynsection">
215
<p><center><img src="classschroot__listmounts_1_1main_b2b9c3a546383be0a67d30b4353dab8c_icgraph.png" border="0" usemap="#classschroot__listmounts_1_1main_b2b9c3a546383be0a67d30b4353dab8c_icgraph_map" alt=""></center>
252
216
<map name="classschroot__listmounts_1_1main_b2b9c3a546383be0a67d30b4353dab8c_icgraph_map">
253
<area shape="rect" href="classschroot__listmounts_1_1main.html#266e0d62ec45cb0c73b03d277205fe8a" title="Run the program." alt="" coords="312,5,525,32"></map>
217
<area shape="rect" href="classschroot__listmounts_1_1main.html#266e0d62ec45cb0c73b03d277205fe8a" title="Run the program." alt="" coords="359,5,604,32"></map>
275
240
<dl class="return" compact><dt><b>Returns:</b></dt><dd>0 on success, 1 on failure or the exit status of the chroot command. </dd></dl>
278
Implements <a class="el" href="classschroot__base_1_1main.html#e252e6014964a24c7290b9c0378c1310">schroot_base::main</a>.
280
Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00147">147</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.
282
References <a class="el" href="schroot-base-main_8cc-source.html#l00075">schroot_base::main::action_help()</a>, <a class="el" href="schroot-base-options_8h-source.html#l00074">schroot_base::options::ACTION_HELP</a>, <a class="el" href="schroot-listmounts-main_8cc-source.html#l00133">action_listmounts()</a>, <a class="el" href="schroot-listmounts-options_8h-source.html#l00040">schroot_listmounts::options::ACTION_LISTMOUNTS</a>, <a class="el" href="schroot-base-main_8cc-source.html#l00057">schroot_base::main::action_version()</a>, and <a class="el" href="schroot-base-options_8h-source.html#l00076">schroot_base::options::ACTION_VERSION</a>.
242
<p>Implements <a class="el" href="classschroot__base_1_1main.html#e252e6014964a24c7290b9c0378c1310">schroot_base::main</a>.</p>
244
<p>Definition at line <a class="el" href="schroot-listmounts-main_8cc-source.html#l00127">127</a> of file <a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a>.</p>
246
<p>References <a class="el" href="schroot-base-main_8cc-source.html#l00074">schroot_base::main::action_help()</a>, <a class="el" href="schroot-base-options_8h-source.html#l00073">schroot_base::options::ACTION_HELP</a>, <a class="el" href="schroot-listmounts-main_8cc-source.html#l00086">action_listmounts()</a>, <a class="el" href="schroot-listmounts-options_8h-source.html#l00039">schroot_listmounts::options::ACTION_LISTMOUNTS</a>, <a class="el" href="schroot-base-main_8cc-source.html#l00056">schroot_base::main::action_version()</a>, and <a class="el" href="schroot-base-options_8h-source.html#l00075">schroot_base::options::ACTION_VERSION</a>.</p>
285
250
<hr><h2>Member Data Documentation</h2>
298
263
The program <a class="el" href="classschroot__listmounts_1_1options.html" title="schroot-listmounts command-line options.">options</a>.
302
Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00087">87</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.
266
<p>Definition at line <a class="el" href="schroot-listmounts-main_8h-source.html#l00075">75</a> of file <a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>.</p>
305
270
<hr>The documentation for this class was generated from the following files:<ul>
306
271
<li>bin/schroot-listmounts/<a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a><li>bin/schroot-listmounts/<a class="el" href="schroot-listmounts-main_8cc-source.html">schroot-listmounts-main.cc</a></ul>
307
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 8 21:24:31 2007 for schroot by
272
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:39:03 2008 for schroot by
308
273
<a href="http://www.doxygen.org/index.html">
309
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
274
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>