~ubuntu-branches/ubuntu/trusty/schroot/trusty

« back to all changes in this revision

Viewing changes to doc/sbuild/html/classsbuild_1_1chroot__mountable.html

  • Committer: Bazaar Package Importer
  • Author(s): Roger Leigh
  • Date: 2009-11-07 10:46:54 UTC
  • mfrom: (1.1.20 upstream) (2.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20091107104654-kk1fp1icv8dzfyfi
* New upstream development release.
* schroot:
  - Return success when ending a session and the operation
    succeeded (Closes: #554907).

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=UTF-8">
3
 
<title>sbuild: sbuild::chroot_mountable Class Reference</title>
4
 
<link href="tabs.css" rel="stylesheet" type="text/css">
5
 
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
 
</head><body>
7
 
<!-- Generated by Doxygen 1.5.9 -->
8
 
<div class="navigation" id="top">
9
 
  <div class="tabs">
10
 
    <ul>
11
 
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
 
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13
 
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
14
 
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
15
 
      <li><a href="files.html"><span>Files</span></a></li>
16
 
      <li><a href="dirs.html"><span>Directories</span></a></li>
17
 
    </ul>
18
 
  </div>
19
 
  <div class="tabs">
20
 
    <ul>
21
 
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
22
 
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
23
 
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
24
 
    </ul>
25
 
  </div>
26
 
  <div class="navpath"><a class="el" href="namespacesbuild.html">sbuild</a>::<a class="el" href="classsbuild_1_1chroot__mountable.html">chroot_mountable</a>
27
 
  </div>
28
 
</div>
29
 
<div class="contents">
30
 
<h1>sbuild::chroot_mountable Class Reference</h1><!-- doxytag: class="sbuild::chroot_mountable" --><!-- doxytag: inherits="sbuild::chroot" -->A <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> stored on an unmounted block device.  
31
 
<a href="#_details">More...</a>
32
 
<p>
33
 
<code>#include &lt;<a class="el" href="sbuild-chroot-mountable_8h_source.html">sbuild-chroot-mountable.h</a>&gt;</code>
34
 
<p>
35
 
<div class="dynheader">
36
 
Inheritance diagram for sbuild::chroot_mountable:</div>
37
 
<div class="dynsection">
38
 
<p><center><img src="classsbuild_1_1chroot__mountable__inherit__graph.png" border="0" usemap="#sbuild_1_1chroot__mountable__inherit__map" alt="Inheritance graph"></center>
39
 
<map name="sbuild_1_1chroot__mountable__inherit__map">
40
 
<area shape="rect" href="classsbuild_1_1chroot__block__device.html" title="A chroot stored on an unmounted block device." alt="" coords="8,160,189,189"><area shape="rect" href="classsbuild_1_1chroot__loopback.html" title="A chroot stored in a file for loopback mounting." alt="" coords="213,160,371,189"><area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="145,5,244,35"><area shape="rect" href="classsbuild_1_1chroot__lvm__snapshot.html" title="A chroot stored on an LVM logical volume (LV)." alt="" coords="5,237,192,267"></map>
41
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
42
 
<div class="dynheader">
43
 
Collaboration diagram for sbuild::chroot_mountable:</div>
44
 
<div class="dynsection">
45
 
<p><center><img src="classsbuild_1_1chroot__mountable__coll__graph.png" border="0" usemap="#sbuild_1_1chroot__mountable__coll__map" alt="Collaboration graph"></center>
46
 
<map name="sbuild_1_1chroot__mountable__coll__map">
47
 
<area shape="rect" href="classsbuild_1_1chroot.html" title="Common chroot data." alt="" coords="341,565,440,595"><area shape="rect" href="classsbuild_1_1regex.html" title="POSIX extended regular expression." alt="" coords="208,428,304,457"><area shape="rect" href="classsbuild_1_1personality.html" title="Chroot personality." alt="" coords="328,428,453,457"><area shape="rect" title="STL class." alt="" coords="427,101,507,131"><area shape="rect" title="STL class." alt="" coords="388,5,545,35"><area shape="rect" title="STL class." alt="" coords="157,101,277,131"><area shape="rect" title="STL class." alt="" coords="19,101,133,131"></map>
48
 
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
49
 
 
50
 
<p>
51
 
<a href="classsbuild_1_1chroot__mountable-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
52
 
<tr><td></td></tr>
53
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
54
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#2bfda615a6fdeb4d8b8e696b820f496e">~chroot_mountable</a> ()</td></tr>
55
 
 
56
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The destructor.  <a href="#2bfda615a6fdeb4d8b8e696b820f496e"></a><br></td></tr>
57
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string const &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#4596badf4cfcc4d0dcc8455d2006cfcf">get_mount_device</a> () const =0</td></tr>
58
 
 
59
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the mount device of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>.  <a href="#4596badf4cfcc4d0dcc8455d2006cfcf"></a><br></td></tr>
60
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string const &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#2fa56af3a4e0efdf48c66e04e4541cc2">get_mount_options</a> () const </td></tr>
61
 
 
62
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the filesystem mount_options of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> block device.  <a href="#2fa56af3a4e0efdf48c66e04e4541cc2"></a><br></td></tr>
63
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#fd3f5cdfd109138c55ecce0ce40668cb">set_mount_options</a> (std::string const &amp;<a class="el" href="classsbuild_1_1chroot__mountable.html#d6bfae753ad1d937b4e4fe197ff5a98b">mount_options</a>)</td></tr>
64
 
 
65
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the filesystem mount_options of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> block device.  <a href="#fd3f5cdfd109138c55ecce0ce40668cb"></a><br></td></tr>
66
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string const &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#3144714399e889829b051833ee6f3ca7">get_location</a> () const </td></tr>
67
 
 
68
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the location.  <a href="#3144714399e889829b051833ee6f3ca7"></a><br></td></tr>
69
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#bd02363f2f15135c0e34b0a5d4b7f714">set_location</a> (std::string const &amp;<a class="el" href="classsbuild_1_1chroot.html#efbc5a3c1c7d5cb7a349f70bebaccac1">location</a>)</td></tr>
70
 
 
71
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the location.  <a href="#bd02363f2f15135c0e34b0a5d4b7f714"></a><br></td></tr>
72
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#04cf528fb6152c54b827c037c8547f00">setup_env</a> (<a class="el" href="classsbuild_1_1environment.html">environment</a> &amp;env)</td></tr>
73
 
 
74
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <a class="el" href="classsbuild_1_1environment.html" title="Container of environment variables.">environment</a>.  <a href="#04cf528fb6152c54b827c037c8547f00"></a><br></td></tr>
75
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classsbuild_1_1chroot.html#ef89631e62590a5864a644e1d6c19e8e">session_flags</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#2bec81805a33eea2669006ed1714a694">get_session_flags</a> () const </td></tr>
76
 
 
77
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>.  <a href="#2bec81805a33eea2669006ed1714a694"></a><br></td></tr>
78
 
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
79
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#4c3bc73fbc97910e8b0405e4ed8de4f9">chroot_mountable</a> ()</td></tr>
80
 
 
81
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The constructor.  <a href="#4c3bc73fbc97910e8b0405e4ed8de4f9"></a><br></td></tr>
82
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#c9d89dca3fe73a3ae6083453e5c7d77e">get_details</a> (<a class="el" href="classsbuild_1_1format__detail.html">format_detail</a> &amp;detail) const </td></tr>
83
 
 
84
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get detailed information about the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> for output.  <a href="#c9d89dca3fe73a3ae6083453e5c7d77e"></a><br></td></tr>
85
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#a6513a647adbe707ea2d533dd142d4e0">get_keyfile</a> (<a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> &amp;<a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a>) const </td></tr>
86
 
 
87
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties into a keyfile.  <a href="#a6513a647adbe707ea2d533dd142d4e0"></a><br></td></tr>
88
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#489bade6c26fee3669973a158a214404">set_keyfile</a> (<a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> const &amp;<a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a>, <a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a> &amp;used_keys)</td></tr>
89
 
 
90
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties from a keyfile.  <a href="#489bade6c26fee3669973a158a214404"></a><br></td></tr>
91
 
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
92
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#d6bfae753ad1d937b4e4fe197ff5a98b">mount_options</a></td></tr>
93
 
 
94
 
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The options to mount the device with.  <a href="#d6bfae753ad1d937b4e4fe197ff5a98b"></a><br></td></tr>
95
 
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
96
 
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsbuild_1_1chroot__mountable.html#d93ec14845f07d687e98a51953056cd6">chroot</a></td></tr>
97
 
 
98
 
</table>
99
 
<hr><a name="_details"></a><h2>Detailed Description</h2>
100
 
A <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> stored on an unmounted block device. 
101
 
<p>
102
 
The device will be mounted on demand. <hr><h2>Constructor &amp; Destructor Documentation</h2>
103
 
<a class="anchor" name="4c3bc73fbc97910e8b0405e4ed8de4f9"></a><!-- doxytag: member="sbuild::chroot_mountable::chroot_mountable" ref="4c3bc73fbc97910e8b0405e4ed8de4f9" args="()" -->
104
 
<div class="memitem">
105
 
<div class="memproto">
106
 
      <table class="memname">
107
 
        <tr>
108
 
          <td class="memname">chroot_mountable::chroot_mountable           </td>
109
 
          <td>(</td>
110
 
          <td class="paramname">          </td>
111
 
          <td>&nbsp;)&nbsp;</td>
112
 
          <td><code> [protected]</code></td>
113
 
        </tr>
114
 
      </table>
115
 
</div>
116
 
<div class="memdoc">
117
 
 
118
 
<p>
119
 
The constructor. 
120
 
<p>
121
 
 
122
 
</div>
123
 
</div><p>
124
 
<a class="anchor" name="2bfda615a6fdeb4d8b8e696b820f496e"></a><!-- doxytag: member="sbuild::chroot_mountable::~chroot_mountable" ref="2bfda615a6fdeb4d8b8e696b820f496e" args="()" -->
125
 
<div class="memitem">
126
 
<div class="memproto">
127
 
      <table class="memname">
128
 
        <tr>
129
 
          <td class="memname">chroot_mountable::~chroot_mountable           </td>
130
 
          <td>(</td>
131
 
          <td class="paramname">          </td>
132
 
          <td>&nbsp;)&nbsp;</td>
133
 
          <td><code> [virtual]</code></td>
134
 
        </tr>
135
 
      </table>
136
 
</div>
137
 
<div class="memdoc">
138
 
 
139
 
<p>
140
 
The destructor. 
141
 
<p>
142
 
 
143
 
</div>
144
 
</div><p>
145
 
<hr><h2>Member Function Documentation</h2>
146
 
<a class="anchor" name="c9d89dca3fe73a3ae6083453e5c7d77e"></a><!-- doxytag: member="sbuild::chroot_mountable::get_details" ref="c9d89dca3fe73a3ae6083453e5c7d77e" args="(format_detail &amp;detail) const " -->
147
 
<div class="memitem">
148
 
<div class="memproto">
149
 
      <table class="memname">
150
 
        <tr>
151
 
          <td class="memname">void chroot_mountable::get_details           </td>
152
 
          <td>(</td>
153
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1format__detail.html">format_detail</a> &amp;&nbsp;</td>
154
 
          <td class="paramname"> <em>detail</em>          </td>
155
 
          <td>&nbsp;)&nbsp;</td>
156
 
          <td> const<code> [protected, virtual]</code></td>
157
 
        </tr>
158
 
      </table>
159
 
</div>
160
 
<div class="memdoc">
161
 
 
162
 
<p>
163
 
Get detailed information about the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> for output. 
164
 
<p>
165
 
<dl compact><dt><b>Parameters:</b></dt><dd>
166
 
  <table border="0" cellspacing="2" cellpadding="0">
167
 
    <tr><td valign="top"></td><td valign="top"><em>detail</em>&nbsp;</td><td>the details to output to. </td></tr>
168
 
  </table>
169
 
</dl>
170
 
 
171
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#2f067f08b2a4104503a31a3a12a1f447">sbuild::chroot</a>.</p>
172
 
 
173
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#51b846bb33b77998e7b05953571bad38">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#72a390e930b87daca204b8e54f18428f">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#fd8c9bbb8475c30a86beafde4c837c9f">sbuild::chroot_lvm_snapshot</a>.</p>
174
 
 
175
 
<p>References <a class="el" href="sbuild-format-detail_8cc_source.html#l00042">sbuild::format_detail::add()</a>, <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00045">get_mount_options()</a>, and <a class="el" href="sbuild-chroot-mountable_8h_source.html#l00100">mount_options</a>.</p>
176
 
 
177
 
</div>
178
 
</div><p>
179
 
<a class="anchor" name="a6513a647adbe707ea2d533dd142d4e0"></a><!-- doxytag: member="sbuild::chroot_mountable::get_keyfile" ref="a6513a647adbe707ea2d533dd142d4e0" args="(keyfile &amp;keyfile) const " -->
180
 
<div class="memitem">
181
 
<div class="memproto">
182
 
      <table class="memname">
183
 
        <tr>
184
 
          <td class="memname">void chroot_mountable::get_keyfile           </td>
185
 
          <td>(</td>
186
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> &amp;&nbsp;</td>
187
 
          <td class="paramname"> <em>keyfile</em>          </td>
188
 
          <td>&nbsp;)&nbsp;</td>
189
 
          <td> const<code> [protected, virtual]</code></td>
190
 
        </tr>
191
 
      </table>
192
 
</div>
193
 
<div class="memdoc">
194
 
 
195
 
<p>
196
 
Copy the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties into a keyfile. 
197
 
<p>
198
 
The keyfile group with the name of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will be set; if it already exists, it will be removed before setting it.<p>
199
 
<dl compact><dt><b>Parameters:</b></dt><dd>
200
 
  <table border="0" cellspacing="2" cellpadding="0">
201
 
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to use. </td></tr>
202
 
  </table>
203
 
</dl>
204
 
 
205
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#bd88b14c1aae6b73da82d1a59967d86c">sbuild::chroot</a>.</p>
206
 
 
207
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#8aa2ab631c222afcf86495c011649351">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#f2f32c1eee597149c60bef3f1c11175c">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#a99036a024257918e4a00b3d377003c1">sbuild::chroot_lvm_snapshot</a>.</p>
208
 
 
209
 
<p>References <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00057">get_location()</a>, <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00045">get_mount_options()</a>, <a class="el" href="sbuild-chroot_8cc_source.html#l00144">sbuild::chroot::get_name()</a>, and <a class="el" href="sbuild-basic-keyfile_8h_source.html#l00902">sbuild::basic_keyfile&lt; K, P &gt;::set_object_value()</a>.</p>
210
 
 
211
 
</div>
212
 
</div><p>
213
 
<a class="anchor" name="3144714399e889829b051833ee6f3ca7"></a><!-- doxytag: member="sbuild::chroot_mountable::get_location" ref="3144714399e889829b051833ee6f3ca7" args="() const " -->
214
 
<div class="memitem">
215
 
<div class="memproto">
216
 
      <table class="memname">
217
 
        <tr>
218
 
          <td class="memname">std::string const &amp; chroot_mountable::get_location           </td>
219
 
          <td>(</td>
220
 
          <td class="paramname">          </td>
221
 
          <td>&nbsp;)&nbsp;</td>
222
 
          <td> const<code> [virtual]</code></td>
223
 
        </tr>
224
 
      </table>
225
 
</div>
226
 
<div class="memdoc">
227
 
 
228
 
<p>
229
 
Get the location. 
230
 
<p>
231
 
This is a path to the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> directory inside the device (absolute path from the device root).<p>
232
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the location. </dd></dl>
233
 
 
234
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#51dc847229a1f9979e6151797dc8122f">sbuild::chroot</a>.</p>
235
 
 
236
 
<p>Referenced by <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00095">get_keyfile()</a>.</p>
237
 
 
238
 
</div>
239
 
</div><p>
240
 
<a class="anchor" name="4596badf4cfcc4d0dcc8455d2006cfcf"></a><!-- doxytag: member="sbuild::chroot_mountable::get_mount_device" ref="4596badf4cfcc4d0dcc8455d2006cfcf" args="() const =0" -->
241
 
<div class="memitem">
242
 
<div class="memproto">
243
 
      <table class="memname">
244
 
        <tr>
245
 
          <td class="memname">virtual std::string const&amp; sbuild::chroot_mountable::get_mount_device           </td>
246
 
          <td>(</td>
247
 
          <td class="paramname">          </td>
248
 
          <td>&nbsp;)&nbsp;</td>
249
 
          <td> const<code> [pure virtual]</code></td>
250
 
        </tr>
251
 
      </table>
252
 
</div>
253
 
<div class="memdoc">
254
 
 
255
 
<p>
256
 
Get the mount device of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
257
 
<p>
258
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the device. </dd></dl>
259
 
 
260
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#48e3f8e86bda7a0e7e14e5b4b625c75f">sbuild::chroot</a>.</p>
261
 
 
262
 
<p>Implemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#b749c15ff89c485693685d7505b0c316">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#defdb7f031a2e28b644517ac20d84da1">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#4862102cead274965f30b5be0cf9e3ec">sbuild::chroot_lvm_snapshot</a>.</p>
263
 
 
264
 
</div>
265
 
</div><p>
266
 
<a class="anchor" name="2fa56af3a4e0efdf48c66e04e4541cc2"></a><!-- doxytag: member="sbuild::chroot_mountable::get_mount_options" ref="2fa56af3a4e0efdf48c66e04e4541cc2" args="() const " -->
267
 
<div class="memitem">
268
 
<div class="memproto">
269
 
      <table class="memname">
270
 
        <tr>
271
 
          <td class="memname">std::string const &amp; chroot_mountable::get_mount_options           </td>
272
 
          <td>(</td>
273
 
          <td class="paramname">          </td>
274
 
          <td>&nbsp;)&nbsp;</td>
275
 
          <td> const</td>
276
 
        </tr>
277
 
      </table>
278
 
</div>
279
 
<div class="memdoc">
280
 
 
281
 
<p>
282
 
Get the filesystem mount_options of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> block device. 
283
 
<p>
284
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the mount options. </dd></dl>
285
 
 
286
 
<p>References <a class="el" href="sbuild-chroot-mountable_8h_source.html#l00100">mount_options</a>.</p>
287
 
 
288
 
<p>Referenced by <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00086">get_details()</a>, <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00095">get_keyfile()</a>, and <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00072">setup_env()</a>.</p>
289
 
 
290
 
</div>
291
 
</div><p>
292
 
<a class="anchor" name="2bec81805a33eea2669006ed1714a694"></a><!-- doxytag: member="sbuild::chroot_mountable::get_session_flags" ref="2bec81805a33eea2669006ed1714a694" args="() const " -->
293
 
<div class="memitem">
294
 
<div class="memproto">
295
 
      <table class="memname">
296
 
        <tr>
297
 
          <td class="memname"><a class="el" href="classsbuild_1_1chroot.html#ef89631e62590a5864a644e1d6c19e8e">sbuild::chroot::session_flags</a> chroot_mountable::get_session_flags           </td>
298
 
          <td>(</td>
299
 
          <td class="paramname">          </td>
300
 
          <td>&nbsp;)&nbsp;</td>
301
 
          <td> const<code> [virtual]</code></td>
302
 
        </tr>
303
 
      </table>
304
 
</div>
305
 
<div class="memdoc">
306
 
 
307
 
<p>
308
 
Get the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a>. 
309
 
<p>
310
 
These determine how the Session controlling the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> will operate.<p>
311
 
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classsbuild_1_1session.html" title="Session handler.">session</a> flags. </dd></dl>
312
 
 
313
 
<p>Implements <a class="el" href="classsbuild_1_1chroot.html#3971cded8d1c466c20bfec514729161a">sbuild::chroot</a>.</p>
314
 
 
315
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#c9b3041d99ce000d51f784ff6f1e3d4b">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#af93b6ac96a4e47ef7562e719ef8cfc2">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#41ca7a27aa4b88fbc7ec146a4fff25c4">sbuild::chroot_lvm_snapshot</a>.</p>
316
 
 
317
 
<p>References <a class="el" href="sbuild-chroot_8h_source.html#l00059">sbuild::chroot::SESSION_NOFLAGS</a>.</p>
318
 
 
319
 
</div>
320
 
</div><p>
321
 
<a class="anchor" name="489bade6c26fee3669973a158a214404"></a><!-- doxytag: member="sbuild::chroot_mountable::set_keyfile" ref="489bade6c26fee3669973a158a214404" args="(keyfile const &amp;keyfile, string_list &amp;used_keys)" -->
322
 
<div class="memitem">
323
 
<div class="memproto">
324
 
      <table class="memname">
325
 
        <tr>
326
 
          <td class="memname">void chroot_mountable::set_keyfile           </td>
327
 
          <td>(</td>
328
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1basic__keyfile.html">keyfile</a> const &amp;&nbsp;</td>
329
 
          <td class="paramname"> <em>keyfile</em>, </td>
330
 
        </tr>
331
 
        <tr>
332
 
          <td class="paramkey"></td>
333
 
          <td></td>
334
 
          <td class="paramtype"><a class="el" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">string_list</a> &amp;&nbsp;</td>
335
 
          <td class="paramname"> <em>used_keys</em></td><td>&nbsp;</td>
336
 
        </tr>
337
 
        <tr>
338
 
          <td></td>
339
 
          <td>)</td>
340
 
          <td></td><td></td><td><code> [protected, virtual]</code></td>
341
 
        </tr>
342
 
      </table>
343
 
</div>
344
 
<div class="memdoc">
345
 
 
346
 
<p>
347
 
Set the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> properties from a keyfile. 
348
 
<p>
349
 
The <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> name must have previously been set, so that the correct keyfile group may be determined.<p>
350
 
<dl compact><dt><b>Parameters:</b></dt><dd>
351
 
  <table border="0" cellspacing="2" cellpadding="0">
352
 
    <tr><td valign="top"></td><td valign="top"><em>keyfile</em>&nbsp;</td><td>the keyfile to get the properties from. </td></tr>
353
 
    <tr><td valign="top"></td><td valign="top"><em>used_keys</em>&nbsp;</td><td>a list of the keys used will be set. </td></tr>
354
 
  </table>
355
 
</dl>
356
 
 
357
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#0b8555f5ea3bc9c03b8be043a2a4d96c">sbuild::chroot</a>.</p>
358
 
 
359
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#81c3ff021550eaa2b168e56dd318559b">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#f3d447fd3ca8bb097b35755a39045cce">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#7a9041e884f3863a2539188809de5357">sbuild::chroot_lvm_snapshot</a>.</p>
360
 
 
361
 
<p>References <a class="el" href="sbuild-chroot_8cc_source.html#l00144">sbuild::chroot::get_name()</a>, <a class="el" href="sbuild-basic-keyfile_8h_source.html#l01031">sbuild::basic_keyfile&lt; K, P &gt;::get_object_value()</a>, <a class="el" href="sbuild-keyfile-base_8h_source.html#l00049">sbuild::keyfile_base::PRIORITY_OPTIONAL</a>, <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00063">set_location()</a>, and <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00051">set_mount_options()</a>.</p>
362
 
 
363
 
</div>
364
 
</div><p>
365
 
<a class="anchor" name="bd02363f2f15135c0e34b0a5d4b7f714"></a><!-- doxytag: member="sbuild::chroot_mountable::set_location" ref="bd02363f2f15135c0e34b0a5d4b7f714" args="(std::string const &amp;location)" -->
366
 
<div class="memitem">
367
 
<div class="memproto">
368
 
      <table class="memname">
369
 
        <tr>
370
 
          <td class="memname">void chroot_mountable::set_location           </td>
371
 
          <td>(</td>
372
 
          <td class="paramtype">std::string const &amp;&nbsp;</td>
373
 
          <td class="paramname"> <em>location</em>          </td>
374
 
          <td>&nbsp;)&nbsp;</td>
375
 
          <td><code> [virtual]</code></td>
376
 
        </tr>
377
 
      </table>
378
 
</div>
379
 
<div class="memdoc">
380
 
 
381
 
<p>
382
 
Set the location. 
383
 
<p>
384
 
This is a path to the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> directory inside the device (absolute path from the device root).<p>
385
 
<dl compact><dt><b>Parameters:</b></dt><dd>
386
 
  <table border="0" cellspacing="2" cellpadding="0">
387
 
    <tr><td valign="top"></td><td valign="top"><em>location</em>&nbsp;</td><td>the location. </td></tr>
388
 
  </table>
389
 
</dl>
390
 
 
391
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#dabe7e9b1f1bc2a93096ad15ec0b2973">sbuild::chroot</a>.</p>
392
 
 
393
 
<p>References <a class="el" href="sbuild-util_8cc_source.html#l00153">sbuild::is_absname()</a>, and <a class="el" href="sbuild-chroot_8h_source.html#l00081">sbuild::chroot::LOCATION_ABS</a>.</p>
394
 
 
395
 
<p>Referenced by <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00107">set_keyfile()</a>.</p>
396
 
 
397
 
</div>
398
 
</div><p>
399
 
<a class="anchor" name="fd3f5cdfd109138c55ecce0ce40668cb"></a><!-- doxytag: member="sbuild::chroot_mountable::set_mount_options" ref="fd3f5cdfd109138c55ecce0ce40668cb" args="(std::string const &amp;mount_options)" -->
400
 
<div class="memitem">
401
 
<div class="memproto">
402
 
      <table class="memname">
403
 
        <tr>
404
 
          <td class="memname">void chroot_mountable::set_mount_options           </td>
405
 
          <td>(</td>
406
 
          <td class="paramtype">std::string const &amp;&nbsp;</td>
407
 
          <td class="paramname"> <em>mount_options</em>          </td>
408
 
          <td>&nbsp;)&nbsp;</td>
409
 
          <td></td>
410
 
        </tr>
411
 
      </table>
412
 
</div>
413
 
<div class="memdoc">
414
 
 
415
 
<p>
416
 
Set the filesystem mount_options of the <a class="el" href="classsbuild_1_1chroot.html" title="Common chroot data.">chroot</a> block device. 
417
 
<p>
418
 
<dl compact><dt><b>Parameters:</b></dt><dd>
419
 
  <table border="0" cellspacing="2" cellpadding="0">
420
 
    <tr><td valign="top"></td><td valign="top"><em>mount_options</em>&nbsp;</td><td>the mount options. </td></tr>
421
 
  </table>
422
 
</dl>
423
 
 
424
 
<p>Referenced by <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00107">set_keyfile()</a>.</p>
425
 
 
426
 
</div>
427
 
</div><p>
428
 
<a class="anchor" name="04cf528fb6152c54b827c037c8547f00"></a><!-- doxytag: member="sbuild::chroot_mountable::setup_env" ref="04cf528fb6152c54b827c037c8547f00" args="(environment &amp;env)" -->
429
 
<div class="memitem">
430
 
<div class="memproto">
431
 
      <table class="memname">
432
 
        <tr>
433
 
          <td class="memname">void chroot_mountable::setup_env           </td>
434
 
          <td>(</td>
435
 
          <td class="paramtype"><a class="el" href="classsbuild_1_1environment.html">environment</a> &amp;&nbsp;</td>
436
 
          <td class="paramname"> <em>env</em>          </td>
437
 
          <td>&nbsp;)&nbsp;</td>
438
 
          <td><code> [virtual]</code></td>
439
 
        </tr>
440
 
      </table>
441
 
</div>
442
 
<div class="memdoc">
443
 
 
444
 
<p>
445
 
Set <a class="el" href="classsbuild_1_1environment.html" title="Container of environment variables.">environment</a>. 
446
 
<p>
447
 
Set the <a class="el" href="classsbuild_1_1environment.html" title="Container of environment variables.">environment</a> that the setup scripts will see during execution.<p>
448
 
<dl compact><dt><b>Parameters:</b></dt><dd>
449
 
  <table border="0" cellspacing="2" cellpadding="0">
450
 
    <tr><td valign="top"></td><td valign="top"><em>env</em>&nbsp;</td><td>the <a class="el" href="classsbuild_1_1environment.html" title="Container of environment variables.">environment</a> to set. </td></tr>
451
 
  </table>
452
 
</dl>
453
 
 
454
 
<p>Reimplemented from <a class="el" href="classsbuild_1_1chroot.html#5eef8f0da324842ae34393a52462f9e5">sbuild::chroot</a>.</p>
455
 
 
456
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#660e4d607f97b12e7f1d32cfa6eb65ba">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#3a1c672b205a4999e5c37f2ab2fed273">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#cc589550ffd00460ab6a782fb75518d7">sbuild::chroot_lvm_snapshot</a>.</p>
457
 
 
458
 
<p>References <a class="el" href="sbuild-environment_8cc_source.html#l00055">sbuild::environment::add()</a>, and <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00045">get_mount_options()</a>.</p>
459
 
 
460
 
</div>
461
 
</div><p>
462
 
<hr><h2>Friends And Related Function Documentation</h2>
463
 
<a class="anchor" name="d93ec14845f07d687e98a51953056cd6"></a><!-- doxytag: member="sbuild::chroot_mountable::chroot" ref="d93ec14845f07d687e98a51953056cd6" args="" -->
464
 
<div class="memitem">
465
 
<div class="memproto">
466
 
      <table class="memname">
467
 
        <tr>
468
 
          <td class="memname">friend class <a class="el" href="classsbuild_1_1chroot.html">chroot</a><code> [friend]</code>          </td>
469
 
        </tr>
470
 
      </table>
471
 
</div>
472
 
<div class="memdoc">
473
 
 
474
 
<p>
475
 
 
476
 
<p>Reimplemented in <a class="el" href="classsbuild_1_1chroot__block__device.html#d93ec14845f07d687e98a51953056cd6">sbuild::chroot_block_device</a>, <a class="el" href="classsbuild_1_1chroot__loopback.html#d93ec14845f07d687e98a51953056cd6">sbuild::chroot_loopback</a>, and <a class="el" href="classsbuild_1_1chroot__lvm__snapshot.html#d93ec14845f07d687e98a51953056cd6">sbuild::chroot_lvm_snapshot</a>.</p>
477
 
 
478
 
</div>
479
 
</div><p>
480
 
<hr><h2>Member Data Documentation</h2>
481
 
<a class="anchor" name="d6bfae753ad1d937b4e4fe197ff5a98b"></a><!-- doxytag: member="sbuild::chroot_mountable::mount_options" ref="d6bfae753ad1d937b4e4fe197ff5a98b" args="" -->
482
 
<div class="memitem">
483
 
<div class="memproto">
484
 
      <table class="memname">
485
 
        <tr>
486
 
          <td class="memname">std::string <a class="el" href="classsbuild_1_1chroot__mountable.html#d6bfae753ad1d937b4e4fe197ff5a98b">sbuild::chroot_mountable::mount_options</a><code> [private]</code>          </td>
487
 
        </tr>
488
 
      </table>
489
 
</div>
490
 
<div class="memdoc">
491
 
 
492
 
<p>
493
 
The options to mount the device with. 
494
 
<p>
495
 
 
496
 
<p>Referenced by <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00086">get_details()</a>, and <a class="el" href="sbuild-chroot-mountable_8cc_source.html#l00045">get_mount_options()</a>.</p>
497
 
 
498
 
</div>
499
 
</div><p>
500
 
<hr>The documentation for this class was generated from the following files:<ul>
501
 
<li>sbuild/<a class="el" href="sbuild-chroot-mountable_8h_source.html">sbuild-chroot-mountable.h</a><li>sbuild/<a class="el" href="sbuild-chroot-mountable_8cc.html">sbuild-chroot-mountable.cc</a></ul>
502
 
</div>
503
 
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:39:15 2009 for sbuild by&nbsp;
504
 
<a href="http://www.doxygen.org/index.html">
505
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
506
 
</body>
507
 
</html>