~ubuntu-branches/ubuntu/maverick/schroot/maverick-updates

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>schroot: dchroot::main Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<div class="nav">
<a class="el" href="namespacedchroot.html">dchroot</a>::<a class="el" href="classdchroot_1_1main.html">main</a></div>
<h1>dchroot::main Class Reference</h1><!-- doxytag: class="dchroot::main" --><!-- doxytag: inherits="dchroot::main_base" -->Frontend for <a class="el" href="namespacedchroot.html">dchroot</a>.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="dchroot-main_8h-source.html">dchroot-main.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for dchroot::main:</div>
<div class="dynsection">
<p><center><img src="classdchroot_1_1main__inherit__graph.png" border="0" usemap="#dchroot_1_1main__inherit__map" alt="Inheritance graph"></center>
<map name="dchroot_1_1main__inherit__map">
<area shape="rect" href="classdchroot_1_1main__base.html" title="Frontend base class for dchroot." alt="" coords="5,161,152,188"><area shape="rect" href="classschroot_1_1main__base.html" title="Frontend base for schroot programs." alt="" coords="5,84,152,111"><area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="5,7,152,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for dchroot::main:</div>
<div class="dynsection">
<p><center><img src="classdchroot_1_1main__coll__graph.png" border="0" usemap="#dchroot_1_1main__coll__map" alt="Collaboration graph"></center>
<map name="dchroot_1_1main__coll__map">
<area shape="rect" href="classdchroot_1_1main__base.html" title="Frontend base class for dchroot." alt="" coords="144,466,291,492"><area shape="rect" href="classschroot_1_1main__base.html" title="Frontend base for schroot programs." alt="" coords="144,386,291,412"><area shape="rect" href="classschroot__base_1_1main.html" title="Frontend base for schroot programs." alt="" coords="24,292,171,319"><area shape="rect" title="STL class." alt="" coords="55,180,140,207"><area shape="rect" title="STL class." alt="" coords="5,7,189,34"><area shape="rect" title="STL class." alt="" coords="195,292,320,319"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classdchroot_1_1main-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main.html#9f26e38af1f8b58757e6cf9be2d6b2c0">main</a> (<a class="el" href="classschroot_1_1options__base.html#f263f91b2073c330e89a81bf77615b05">schroot::options_base::ptr</a> &amp;<a class="el" href="classdchroot_1_1options.html">options</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The constructor.  <a href="#9f26e38af1f8b58757e6cf9be2d6b2c0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">~main</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#4444e261c1a635e1aab12e00e5b95f5a"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main.html#0d03c7db938e0c914e7782f1c91d3471">load_config</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Load configuration.  <a href="#0d03c7db938e0c914e7782f1c91d3471"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main.html#945189414729b8d4156b068dd0ca3406">action_location</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print location of chroots.  <a href="#945189414729b8d4156b068dd0ca3406"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main.html#61789444a1ff1488841740843e8443d0">create_session</a> (<a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">sbuild::session::operation</a> sess_op)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a <a class="el" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a>.  <a href="#61789444a1ff1488841740843e8443d0"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Frontend for <a class="el" href="namespacedchroot.html">dchroot</a>. 
<p>
This class is used to "run" <a class="el" href="namespacedchroot.html">dchroot</a>. 
<p>Definition at line <a class="el" href="dchroot-main_8h-source.html#l00030">30</a> of file <a class="el" href="dchroot-main_8h-source.html">dchroot-main.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="9f26e38af1f8b58757e6cf9be2d6b2c0"></a><!-- doxytag: member="dchroot::main::main" ref="9f26e38af1f8b58757e6cf9be2d6b2c0" args="(schroot::options_base::ptr &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">main::main           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classschroot_1_1options__base.html#f263f91b2073c330e89a81bf77615b05">schroot::options_base::ptr</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>options</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classdchroot_1_1options.html" title="dchroot command-line options.">options</a></em>&nbsp;</td><td>the command-line <a class="el" href="classdchroot_1_1options.html" title="dchroot command-line options.">options</a> to use. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="dchroot-main_8cc-source.html#l00042">42</a> of file <a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4444e261c1a635e1aab12e00e5b95f5a"></a><!-- doxytag: member="dchroot::main::~main" ref="4444e261c1a635e1aab12e00e5b95f5a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">main::~main           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The destructor. 
<p>

<p>Reimplemented from <a class="el" href="classschroot__base_1_1main.html#4444e261c1a635e1aab12e00e5b95f5a">schroot_base::main</a>.</p>

<p>Definition at line <a class="el" href="dchroot-main_8cc-source.html#l00051">51</a> of file <a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="0d03c7db938e0c914e7782f1c91d3471"></a><!-- doxytag: member="dchroot::main::load_config" ref="0d03c7db938e0c914e7782f1c91d3471" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void main::load_config           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Load configuration. 
<p>

<p>Reimplemented from <a class="el" href="classschroot_1_1main__base.html#0c5dc435d73143412d25a665a724dfb9">schroot::main_base</a>.</p>

<p>Definition at line <a class="el" href="dchroot-main_8cc-source.html#l00064">64</a> of file <a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a>.</p>

<p>References <a class="el" href="dchroot-main-base_8cc-source.html#l00116">dchroot::main_base::check_dchroot_conf()</a>, <a class="el" href="schroot-main-base_8h-source.html#l00136">schroot::main_base::config</a>, and <a class="el" href="schroot-main-base_8cc-source.html#l00158">schroot::main_base::load_config()</a>.</p>

</div>
</div><p>
<a class="anchor" name="945189414729b8d4156b068dd0ca3406"></a><!-- doxytag: member="dchroot::main::action_location" ref="945189414729b8d4156b068dd0ca3406" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void main::action_location           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Print location of chroots. 
<p>

<p>Reimplemented from <a class="el" href="classschroot_1_1main__base.html#2380cac606d19211908e9dd68d6f9835">schroot::main_base</a>.</p>

<p>Definition at line <a class="el" href="dchroot-main_8cc-source.html#l00056">56</a> of file <a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a>.</p>

<p>References <a class="el" href="schroot-main-base_8h-source.html#l00136">schroot::main_base::config</a>.</p>

</div>
</div><p>
<a class="anchor" name="61789444a1ff1488841740843e8443d0"></a><!-- doxytag: member="dchroot::main::create_session" ref="61789444a1ff1488841740843e8443d0" args="(sbuild::session::operation sess_op)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void main::create_session           </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/classsbuild_1_1session.html#3bedc4f49c2fe2c7f59c8d7ec5c1f5b7">sbuild::session::operation</a>&nbsp;</td>
          <td class="paramname"> <em>sess_op</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a <a class="el" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a>. 
<p>
This sets the <a class="el" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a> member.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>sess_op</em>&nbsp;</td><td>the <a class="el" href="classdchroot_1_1session.html" title="Session handler for dchroot sessions.">session</a> operation to perform. </td></tr>
  </table>
</dl>

<p>Implements <a class="el" href="classschroot_1_1main__base.html#3079d993495664a225f12ddb4edb8edf">schroot::main_base</a>.</p>

<p>Definition at line <a class="el" href="dchroot-main_8cc-source.html#l00081">81</a> of file <a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a>.</p>

<p>References <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/namespacesbuild.html#cc4d8fc120bfd21c22acd9d9ed0e754d083bdfab8e8759520a072fe2ab01508e">sbuild::DEBUG_INFO</a>, and <a class="elRef" doxygen="sbuild.tag:/tmp/sb/schroot/doc/sbuild/html/" href="/tmp/sb/schroot/doc/sbuild/html/namespacesbuild.html#fb49f5f1584c85f1415926f9cb240eaf">sbuild::log_debug()</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>bin/dchroot/<a class="el" href="dchroot-main_8h-source.html">dchroot-main.h</a><li>bin/dchroot/<a class="el" href="dchroot-main_8cc-source.html">dchroot-main.cc</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 21 00:38:56 2008 for schroot by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>