~ubuntu-branches/ubuntu/intrepid/schroot/intrepid

« back to all changes in this revision

Viewing changes to doc/schroot/html/classschroot__listmounts_1_1main.html

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2006-07-08 18:33:28 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708183328-rlo4mpldmyoda55q
Tags: 0.99.2-2ubuntu1
* remerge ubuntu changes:
  + debian/control: libpam-dev (>> 0.79-3ubuntu6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 
3
<title>schroot: schroot_listmounts::main Class Reference</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.4.7 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
12
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
 
13
    <li><a href="files.html"><span>Files</span></a></li>
 
14
    <li><a href="dirs.html"><span>Directories</span></a></li>
 
15
  </ul></div>
 
16
<div class="tabs">
 
17
  <ul>
 
18
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
19
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
20
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
21
  </ul></div>
 
22
<div class="nav">
 
23
<a class="el" href="namespaceschroot__listmounts.html">schroot_listmounts</a>::<a class="el" href="classschroot__listmounts_1_1main.html">main</a></div>
 
24
<h1>schroot_listmounts::main Class Reference</h1><!-- doxytag: class="schroot_listmounts::main" --><!-- doxytag: inherits="schroot_base::main" -->Frontend for schroot.  
 
25
<a href="#_details">More...</a>
 
26
<p>
 
27
<code>#include &lt;<a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a>&gt;</code>
 
28
<p>
 
29
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>
 
30
<map name="schroot__listmounts_1_1main__inherit__map">
 
31
<area href="classschroot__base_1_1main.html" shape="rect" coords="24,5,179,32" alt="">
 
32
</map>
 
33
<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>
 
34
<map name="schroot__listmounts_1_1main__coll__map">
 
35
<area href="classschroot__base_1_1main.html" shape="rect" coords="26,280,180,307" alt="">
 
36
</map>
 
37
<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">
 
38
<tr><td></td></tr>
 
39
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
40
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#e677b87c3fb420faf53007994ac8b6af">main</a> (<a class="el" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429">options::ptr</a> &amp;<a class="el" href="classschroot__listmounts_1_1options.html">options</a>)</td></tr>
 
41
 
 
42
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The constructor.  <a href="#e677b87c3fb420faf53007994ac8b6af"></a><br></td></tr>
 
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">~main</a> ()</td></tr>
 
44
 
 
45
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#4444e261c1a635e1aab12e00e5b95f5a"></a><br></td></tr>
 
46
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#04b1ad4d9bb9272e2d682552d53a8ef8">list_mounts</a> (std::string const &amp;mountfile) const </td></tr>
 
47
 
 
48
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">List mounts.  <a href="#04b1ad4d9bb9272e2d682552d53a8ef8"></a><br></td></tr>
 
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#b2b9c3a546383be0a67d30b4353dab8c">action_listmounts</a> ()</td></tr>
 
50
 
 
51
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Release lock.  <a href="#b2b9c3a546383be0a67d30b4353dab8c"></a><br></td></tr>
 
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#266e0d62ec45cb0c73b03d277205fe8a">run_impl</a> ()</td></tr>
 
53
 
 
54
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Run the program.  <a href="#266e0d62ec45cb0c73b03d277205fe8a"></a><br></td></tr>
 
55
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
 
56
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429">options::ptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classschroot__listmounts_1_1main.html#470beefa8da7f763195d3dbd204deaf3">options</a></td></tr>
 
57
 
 
58
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The program options.  <a href="#470beefa8da7f763195d3dbd204deaf3"></a><br></td></tr>
 
59
</table>
 
60
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
61
Frontend for schroot. 
 
62
<p>
 
63
This class is used to "run" schroot. 
 
64
<p>
 
65
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
66
<a class="anchor" name="e677b87c3fb420faf53007994ac8b6af"></a><!-- doxytag: member="schroot_listmounts::main::main" ref="e677b87c3fb420faf53007994ac8b6af" args="(options::ptr &amp;options)" -->
 
67
<div class="memitem">
 
68
<div class="memproto">
 
69
      <table class="memname">
 
70
        <tr>
 
71
          <td class="memname">main::main           </td>
 
72
          <td>(</td>
 
73
          <td class="paramtype"><a class="el" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429">options::ptr</a> &amp;&nbsp;</td>
 
74
          <td class="paramname"> <em>options</em>          </td>
 
75
          <td>&nbsp;)&nbsp;</td>
 
76
          <td width="100%"></td>
 
77
        </tr>
 
78
      </table>
 
79
</div>
 
80
<div class="memdoc">
 
81
 
 
82
<p>
 
83
The constructor. 
 
84
<p>
 
85
<dl compact><dt><b>Parameters:</b></dt><dd>
 
86
  <table border="0" cellspacing="2" cellpadding="0">
 
87
    <tr><td valign="top"></td><td valign="top"><em>options</em>&nbsp;</td><td>the command-line options to use. </td></tr>
 
88
  </table>
 
89
</dl>
 
90
 
 
91
</div>
 
92
</div><p>
 
93
<a class="anchor" name="4444e261c1a635e1aab12e00e5b95f5a"></a><!-- doxytag: member="schroot_listmounts::main::~main" ref="4444e261c1a635e1aab12e00e5b95f5a" args="()" -->
 
94
<div class="memitem">
 
95
<div class="memproto">
 
96
      <table class="memname">
 
97
        <tr>
 
98
          <td class="memname">main::~main           </td>
 
99
          <td>(</td>
 
100
          <td class="paramname">          </td>
 
101
          <td>&nbsp;)&nbsp;</td>
 
102
          <td width="100%"><code> [virtual]</code></td>
 
103
        </tr>
 
104
      </table>
 
105
</div>
 
106
<div class="memdoc">
 
107
 
 
108
<p>
 
109
The destructor. 
 
110
<p>
 
111
 
 
112
<p>
 
113
Reimplemented from <a class="el" href="classschroot__base_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">schroot_base::main</a>.
 
114
</div>
 
115
</div><p>
 
116
<hr><h2>Member Function Documentation</h2>
 
117
<a class="anchor" name="b2b9c3a546383be0a67d30b4353dab8c"></a><!-- doxytag: member="schroot_listmounts::main::action_listmounts" ref="b2b9c3a546383be0a67d30b4353dab8c" args="()" -->
 
118
<div class="memitem">
 
119
<div class="memproto">
 
120
      <table class="memname">
 
121
        <tr>
 
122
          <td class="memname">void main::action_listmounts           </td>
 
123
          <td>(</td>
 
124
          <td class="paramname">          </td>
 
125
          <td>&nbsp;)&nbsp;</td>
 
126
          <td width="100%"><code> [virtual]</code></td>
 
127
        </tr>
 
128
      </table>
 
129
</div>
 
130
<div class="memdoc">
 
131
 
 
132
<p>
 
133
Release lock. 
 
134
<p>
 
135
<dl compact><dt><b>Parameters:</b></dt><dd>
 
136
  <table border="0" cellspacing="2" cellpadding="0">
 
137
    <tr><td valign="top"></td><td valign="top"><em>stream</em>&nbsp;</td><td>the stream to output to. </td></tr>
 
138
  </table>
 
139
</dl>
 
140
 
 
141
</div>
 
142
</div><p>
 
143
<a class="anchor" name="04b1ad4d9bb9272e2d682552d53a8ef8"></a><!-- doxytag: member="schroot_listmounts::main::list_mounts" ref="04b1ad4d9bb9272e2d682552d53a8ef8" args="(std::string const &amp;mountfile) const " -->
 
144
<div class="memitem">
 
145
<div class="memproto">
 
146
      <table class="memname">
 
147
        <tr>
 
148
          <td class="memname"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a> main::list_mounts           </td>
 
149
          <td>(</td>
 
150
          <td class="paramtype">std::string const &amp;&nbsp;</td>
 
151
          <td class="paramname"> <em>mountfile</em>          </td>
 
152
          <td>&nbsp;)&nbsp;</td>
 
153
          <td width="100%"> const</td>
 
154
        </tr>
 
155
      </table>
 
156
</div>
 
157
<div class="memdoc">
 
158
 
 
159
<p>
 
160
List mounts. 
 
161
<p>
 
162
<dl compact><dt><b>Parameters:</b></dt><dd>
 
163
  <table border="0" cellspacing="2" cellpadding="0">
 
164
    <tr><td valign="top"></td><td valign="top"><em>mountfile</em>&nbsp;</td><td>the file containing the database of mounted filesystems. </td></tr>
 
165
    <tr><td valign="top"></td><td valign="top"><em>mountpoint</em>&nbsp;</td><td>the mount point to check for. </td></tr>
 
166
  </table>
 
167
</dl>
 
168
 
 
169
</div>
 
170
</div><p>
 
171
<a class="anchor" name="266e0d62ec45cb0c73b03d277205fe8a"></a><!-- doxytag: member="schroot_listmounts::main::run_impl" ref="266e0d62ec45cb0c73b03d277205fe8a" args="()" -->
 
172
<div class="memitem">
 
173
<div class="memproto">
 
174
      <table class="memname">
 
175
        <tr>
 
176
          <td class="memname">int main::run_impl           </td>
 
177
          <td>(</td>
 
178
          <td class="paramname">          </td>
 
179
          <td>&nbsp;)&nbsp;</td>
 
180
          <td width="100%"><code> [virtual]</code></td>
 
181
        </tr>
 
182
      </table>
 
183
</div>
 
184
<div class="memdoc">
 
185
 
 
186
<p>
 
187
Run the program. 
 
188
<p>
 
189
<dl compact><dt><b>Returns:</b></dt><dd>0 on success, 1 on failure or the exit status of the chroot command. </dd></dl>
 
190
 
 
191
<p>
 
192
Implements <a class="el" href="classschroot__base_1_1main.html#e252e6014964a24c7290b9c0378c1310">schroot_base::main</a>.
 
193
</div>
 
194
</div><p>
 
195
<hr><h2>Member Data Documentation</h2>
 
196
<a class="anchor" name="470beefa8da7f763195d3dbd204deaf3"></a><!-- doxytag: member="schroot_listmounts::main::options" ref="470beefa8da7f763195d3dbd204deaf3" args="" -->
 
197
<div class="memitem">
 
198
<div class="memproto">
 
199
      <table class="memname">
 
200
        <tr>
 
201
          <td class="memname"><a class="el" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429">options::ptr</a> <a class="el" href="classschroot__listmounts_1_1main.html#470beefa8da7f763195d3dbd204deaf3">schroot_listmounts::main::options</a>          </td>
 
202
        </tr>
 
203
      </table>
 
204
</div>
 
205
<div class="memdoc">
 
206
 
 
207
<p>
 
208
The program options. 
 
209
<p>
 
210
 
 
211
</div>
 
212
</div><p>
 
213
<hr>The documentation for this class was generated from the following files:<ul>
 
214
<li>schroot/<a class="el" href="schroot-listmounts-main_8h-source.html">schroot-listmounts-main.h</a><li>schroot/<a class="el" href="schroot-listmounts-main_8cc.html">schroot-listmounts-main.cc</a></ul>
 
215
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 6 19:28:35 2006 for schroot by&nbsp;
 
216
<a href="http://www.doxygen.org/index.html">
 
217
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
 
218
</body>
 
219
</html>