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: dchroot::main_base Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.7 -->
10
<li><a href="index.html"><span>Main 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>
18
<li><a href="annotated.html"><span>Class List</span></a></li>
19
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
20
<li><a href="functions.html"><span>Class Members</span></a></li>
23
<a class="el" href="namespacedchroot.html">dchroot</a>::<a class="el" href="classdchroot_1_1main__base.html">main_base</a></div>
24
<h1>dchroot::main_base Class Reference</h1><!-- doxytag: class="dchroot::main_base" --><!-- doxytag: inherits="schroot::main_base" -->Frontend base class for dchroot.
25
<a href="#_details">More...</a>
27
<code>#include <<a class="el" href="dchroot-main-base_8h-source.html">dchroot-main-base.h</a>></code>
29
Inheritance diagram for dchroot::main_base:<p><center><img src="classdchroot_1_1main__base__inherit__graph.png" border="0" usemap="#dchroot_1_1main__base__inherit__map" alt="Inheritance graph"></center>
30
<map name="dchroot_1_1main__base__inherit__map">
31
<area href="classdchroot_1_1main.html" shape="rect" coords="5,229,120,256" alt="">
32
<area href="classdchroot__dsa_1_1main.html" shape="rect" coords="144,229,291,256" alt="">
33
<area href="classschroot_1_1main__base.html" shape="rect" coords="63,80,217,107" alt="">
34
<area href="classschroot__base_1_1main.html" shape="rect" coords="63,5,217,32" alt="">
36
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for dchroot::main_base:<p><center><img src="classdchroot_1_1main__base__coll__graph.png" border="0" usemap="#dchroot_1_1main__base__coll__map" alt="Collaboration graph"></center>
37
<map name="dchroot_1_1main__base__coll__map">
38
<area href="classschroot_1_1main__base.html" shape="rect" coords="124,371,279,397" alt="">
39
<area href="classschroot__base_1_1main.html" shape="rect" coords="26,280,180,307" alt="">
41
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classdchroot_1_1main__base-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
43
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#81731388c0ec393ddbf866b3bfec5c91">main_base</a> (std::string const &<a class="el" href="classschroot__base_1_1main.html#3d6be1d425f4d74cfced7ca5b6b6f79b">program_name</a>, std::string const &<a class="el" href="classschroot__base_1_1main.html#a6c3a9a050dc1f525d289bbe7d63534b">program_usage</a>, <a class="el" href="classschroot_1_1options__base.html#f263f91b2073c330e89a81bf77615b05">schroot::options_base::ptr</a> &<a class="el" href="classdchroot_1_1options.html">options</a>)</td></tr>
46
<tr><td class="mdescLeft"> </td><td class="mdescRight">The constructor. <a href="#81731388c0ec393ddbf866b3bfec5c91"></a><br></td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#cdaeaeaf78c73277f68cfd7f12480232">~main_base</a> ()</td></tr>
49
<tr><td class="mdescLeft"> </td><td class="mdescRight">The destructor. <a href="#cdaeaeaf78c73277f68cfd7f12480232"></a><br></td></tr>
50
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
51
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#c3f944ff1ac95a770caa6488a75e7bff">check_dchroot_conf</a> ()</td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#52bd3a9bc2d975daa81a86239a96dd35">compat_check</a> ()</td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check compatibility. <a href="#52bd3a9bc2d975daa81a86239a96dd35"></a><br></td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#f33c774b0b0542ec012c4a016f1aa64c">action_config</a> ()</td></tr>
58
<tr><td class="mdescLeft"> </td><td class="mdescRight">Dump configuration file for chroots. <a href="#f33c774b0b0542ec012c4a016f1aa64c"></a><br></td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#a7243d8ef3295b06fd5a164fd1c1fc4b">action_list</a> ()</td></tr>
61
<tr><td class="mdescLeft"> </td><td class="mdescRight">List chroots. <a href="#a7243d8ef3295b06fd5a164fd1c1fc4b"></a><br></td></tr>
62
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdchroot_1_1main__base.html#19665ccca92db2cbea0cd6cbe9f834a8">use_dchroot_conf</a></td></tr>
66
<hr><a name="_details"></a><h2>Detailed Description</h2>
67
Frontend base class for dchroot.
69
This class contains frontend functionality common to dchroot and dchroot-dsa.
71
<hr><h2>Constructor & Destructor Documentation</h2>
72
<a class="anchor" name="81731388c0ec393ddbf866b3bfec5c91"></a><!-- doxytag: member="dchroot::main_base::main_base" ref="81731388c0ec393ddbf866b3bfec5c91" args="(std::string const &program_name, std::string const &program_usage, schroot::options_base::ptr &options)" -->
74
<div class="memproto">
75
<table class="memname">
77
<td class="memname">main_base::main_base </td>
79
<td class="paramtype">std::string const & </td>
80
<td class="paramname"> <em>program_name</em>, </td>
83
<td class="paramkey"></td>
85
<td class="paramtype">std::string const & </td>
86
<td class="paramname"> <em>program_usage</em>, </td>
89
<td class="paramkey"></td>
91
<td class="paramtype"><a class="el" href="classschroot_1_1options__base.html#f263f91b2073c330e89a81bf77615b05">schroot::options_base::ptr</a> & </td>
92
<td class="paramname"> <em>options</em></td><td> </td>
97
<td></td><td></td><td width="100%"></td>
106
<dl compact><dt><b>Parameters:</b></dt><dd>
107
<table border="0" cellspacing="2" cellpadding="0">
108
<tr><td valign="top"></td><td valign="top"><em>options</em> </td><td>the command-line options to use. </td></tr>
113
Reimplemented from <a class="el" href="classschroot_1_1main__base.html#02a4eedb106be90133967c2a9fab321c">schroot::main_base</a>.
116
<a class="anchor" name="cdaeaeaf78c73277f68cfd7f12480232"></a><!-- doxytag: member="dchroot::main_base::~main_base" ref="cdaeaeaf78c73277f68cfd7f12480232" args="()" -->
117
<div class="memitem">
118
<div class="memproto">
119
<table class="memname">
121
<td class="memname">main_base::~main_base </td>
123
<td class="paramname"> </td>
124
<td> ) </td>
125
<td width="100%"><code> [virtual]</code></td>
136
Reimplemented from <a class="el" href="classschroot_1_1main__base.html#cdaeaeaf78c73277f68cfd7f12480232">schroot::main_base</a>.
139
<hr><h2>Member Function Documentation</h2>
140
<a class="anchor" name="f33c774b0b0542ec012c4a016f1aa64c"></a><!-- doxytag: member="dchroot::main_base::action_config" ref="f33c774b0b0542ec012c4a016f1aa64c" args="()" -->
141
<div class="memitem">
142
<div class="memproto">
143
<table class="memname">
145
<td class="memname">void main_base::action_config </td>
147
<td class="paramname"> </td>
148
<td> ) </td>
149
<td width="100%"><code> [protected, virtual]</code></td>
156
Dump configuration file for chroots.
160
Implements <a class="el" href="classschroot_1_1main__base.html#ca501f4666e44771f37e393709ba21b1">schroot::main_base</a>.
163
<a class="anchor" name="a7243d8ef3295b06fd5a164fd1c1fc4b"></a><!-- doxytag: member="dchroot::main_base::action_list" ref="a7243d8ef3295b06fd5a164fd1c1fc4b" args="()" -->
164
<div class="memitem">
165
<div class="memproto">
166
<table class="memname">
168
<td class="memname">void main_base::action_list </td>
170
<td class="paramname"> </td>
171
<td> ) </td>
172
<td width="100%"><code> [protected, virtual]</code></td>
183
Implements <a class="el" href="classschroot_1_1main__base.html#11e9153dac2cbcd8cf340b8aabe152f8">schroot::main_base</a>.
186
<a class="anchor" name="c3f944ff1ac95a770caa6488a75e7bff"></a><!-- doxytag: member="dchroot::main_base::check_dchroot_conf" ref="c3f944ff1ac95a770caa6488a75e7bff" args="()" -->
187
<div class="memitem">
188
<div class="memproto">
189
<table class="memname">
191
<td class="memname">void main_base::check_dchroot_conf </td>
193
<td class="paramname"> </td>
194
<td> ) </td>
195
<td width="100%"><code> [protected]</code></td>
205
<a class="anchor" name="52bd3a9bc2d975daa81a86239a96dd35"></a><!-- doxytag: member="dchroot::main_base::compat_check" ref="52bd3a9bc2d975daa81a86239a96dd35" args="()" -->
206
<div class="memitem">
207
<div class="memproto">
208
<table class="memname">
210
<td class="memname">void main_base::compat_check </td>
212
<td class="paramname"> </td>
213
<td> ) </td>
214
<td width="100%"><code> [protected, virtual]</code></td>
223
Does nothing, but derived classes may use it as they see fit.
225
Reimplemented from <a class="el" href="classschroot_1_1main__base.html#52bd3a9bc2d975daa81a86239a96dd35">schroot::main_base</a>.
228
<hr><h2>Member Data Documentation</h2>
229
<a class="anchor" name="19665ccca92db2cbea0cd6cbe9f834a8"></a><!-- doxytag: member="dchroot::main_base::use_dchroot_conf" ref="19665ccca92db2cbea0cd6cbe9f834a8" args="" -->
230
<div class="memitem">
231
<div class="memproto">
232
<table class="memname">
234
<td class="memname">bool <a class="el" href="classdchroot_1_1main__base.html#19665ccca92db2cbea0cd6cbe9f834a8">dchroot::main_base::use_dchroot_conf</a><code> [protected]</code> </td>
244
<hr>The documentation for this class was generated from the following files:<ul>
245
<li>dchroot/<a class="el" href="dchroot-main-base_8h-source.html">dchroot-main-base.h</a><li>dchroot/<a class="el" href="dchroot-main-base_8cc.html">dchroot-main-base.cc</a></ul>
246
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 6 19:26:18 2006 for schroot by
247
<a href="http://www.doxygen.org/index.html">
248
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>