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

« back to all changes in this revision

Viewing changes to doc/schroot/html/schroot-options_8h-source.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:
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
6
</head><body>
7
 
<!-- Generated by Doxygen 1.4.6 -->
 
7
<!-- Generated by Doxygen 1.4.7 -->
8
8
<div class="tabs">
9
9
  <ul>
10
10
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
12
    <li><a href="annotated.html"><span>Classes</span></a></li>
13
13
    <li id="current"><a href="files.html"><span>Files</span></a></li>
14
14
    <li><a href="dirs.html"><span>Directories</span></a></li>
15
 
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16
15
  </ul></div>
17
16
<div class="tabs">
18
17
  <ul>
20
19
    <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
21
20
  </ul></div>
22
21
<div class="nav">
23
 
<a class="el" href="dir_ef6f4477ef9596f6d29add6a4ae2d514.html">schroot</a></div>
 
22
<a class="el" href="dir_88069696c21aec3d59c9a6cf1d958ecb.html">schroot</a></div>
24
23
<h1>schroot-options.h</h1><a href="schroot-options_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright © 2005-2006  Roger Leigh &lt;rleigh@debian.org&gt;</span>
25
24
<a name="l00002"></a>00002 <span class="comment"> *</span>
26
25
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software; you can redistribute it and/or modify it</span>
43
42
<a name="l00020"></a>00020 <span class="preprocessor">#ifndef SCHROOT_OPTIONS_H</span>
44
43
<a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define SCHROOT_OPTIONS_H</span>
45
44
<a name="l00022"></a>00022 <span class="preprocessor"></span>
46
 
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;string&gt;</span>
47
 
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;vector&gt;</span>
48
 
<a name="l00025"></a>00025 
49
 
<a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="sbuild-session_8h.html">sbuild-session.h</a>"</span>
50
 
<a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="sbuild-types_8h.html">sbuild-types.h</a>"</span>
51
 
<a name="l00028"></a>00028 
52
 
<a name="l00029"></a><a class="code" href="namespaceschroot.html">00029</a> <span class="keyword">namespace </span>schroot
53
 
<a name="l00030"></a>00030 {
54
 
<a name="l00031"></a>00031 
55
 
<a name="l00035"></a><a class="code" href="classschroot_1_1options.html">00035</a>   <span class="keyword">class </span><a class="code" href="classschroot_1_1options.html">options</a>
56
 
<a name="l00036"></a>00036   {
57
 
<a name="l00037"></a>00037   <span class="keyword">public</span>:
58
 
<a name="l00039"></a><a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6">00039</a>     <span class="keyword">enum</span> <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6">action_type</a>
59
 
<a name="l00040"></a>00040       {
60
 
<a name="l00041"></a>00041         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6618638fd42ee9f263922678dc3cdf7ec">ACTION_SESSION_AUTO</a>,    
61
 
<a name="l00042"></a>00042         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6b70682ace0407eaf17b0433d71137866">ACTION_SESSION_BEGIN</a>,   
62
 
<a name="l00043"></a>00043         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6dc84f7cbf4750eedbec41a1b33fb9ecc">ACTION_SESSION_RECOVER</a>, 
63
 
<a name="l00044"></a>00044         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6cc3a424a278ecc20b19a8fde29efe30c">ACTION_SESSION_RUN</a>,     
64
 
<a name="l00045"></a>00045         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6b734baddabdfd0b1ad43673669aad67b">ACTION_SESSION_END</a>,     
65
 
<a name="l00046"></a>00046         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6ae84525aa3ca86263a7129a1f8e6d055">ACTION_VERSION</a>,         
66
 
<a name="l00047"></a>00047         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c67377024633c9486b872417500794e4d8">ACTION_LIST</a>,            
67
 
<a name="l00048"></a>00048         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6b623ef077362fdee5ec1c6c9432bebea">ACTION_INFO</a>,            
68
 
<a name="l00049"></a>00049         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c65cd34dbe156f181ad7f69e2682f9ddf9">ACTION_LOCATION</a>,        
69
 
<a name="l00050"></a><a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c656d078e42cf560de04efa0f036199e82">00050</a>         <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c656d078e42cf560de04efa0f036199e82">ACTION_CONFIG</a>           
70
 
<a name="l00051"></a>00051       };
 
45
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;<a class="code" href="schroot-options-base_8h.html">schroot/schroot-options-base.h</a>&gt;</span>
 
46
<a name="l00024"></a>00024 
 
47
<a name="l00025"></a>00025 <span class="keyword">namespace </span>schroot
 
48
<a name="l00026"></a>00026 {
 
49
<a name="l00027"></a>00027 
 
50
<a name="l00031"></a><a class="code" href="classschroot_1_1options.html">00031</a>   <span class="keyword">class </span><a class="code" href="classschroot_1_1options.html">options</a> : <span class="keyword">public</span> <a class="code" href="classschroot_1_1options__base.html">options_base</a>
 
51
<a name="l00032"></a>00032   {
 
52
<a name="l00033"></a>00033   <span class="keyword">public</span>:
 
53
<a name="l00040"></a>00040     <a class="code" href="classschroot_1_1options.html#41a256b4ba3b2d68a2d72b9245aa0c4d">options</a> ();
 
54
<a name="l00041"></a>00041 
 
55
<a name="l00043"></a>00043     <span class="keyword">virtual</span> <a class="code" href="classschroot_1_1options.html#eb360f60766b8cff26c8ec46c1bc78ca">~options</a> ();
 
56
<a name="l00044"></a>00044 
 
57
<a name="l00045"></a>00045   <span class="keyword">protected</span>:
 
58
<a name="l00046"></a>00046     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
 
59
<a name="l00047"></a>00047     <a class="code" href="classschroot_1_1options.html#9552a1fefc227463e48e29f4dae89986">add_options</a> ();
 
60
<a name="l00048"></a>00048 
 
61
<a name="l00049"></a>00049     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
 
62
<a name="l00050"></a>00050     <a class="code" href="classschroot_1_1options.html#f4d23a59c343dd177d1041557c8f5f25">check_options</a> ();
 
63
<a name="l00051"></a>00051   };
71
64
<a name="l00052"></a>00052 
72
 
<a name="l00059"></a>00059     <a class="code" href="classschroot_1_1options.html#c6aba50f18d2ddb1e8d15690d9de226d">options</a> (<span class="keywordtype">int</span>   argc,
73
 
<a name="l00060"></a>00060              <span class="keywordtype">char</span> *argv[]);
74
 
<a name="l00061"></a>00061 
75
 
<a name="l00063"></a>00063     <span class="keyword">virtual</span> <a class="code" href="classschroot_1_1options.html#eb360f60766b8cff26c8ec46c1bc78ca">~options</a> ();
76
 
<a name="l00064"></a>00064 
77
 
<a name="l00066"></a><a class="code" href="classschroot_1_1options.html#abdfe1035ff91aed0a1ca7658cd08dd9">00066</a>     <a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6">action_type</a>          <a class="code" href="classschroot_1_1options.html#abdfe1035ff91aed0a1ca7658cd08dd9">action</a>;
78
 
<a name="l00068"></a><a class="code" href="classschroot_1_1options.html#274c396fec7339f8bb4e294de62f02e6">00068</a>     <a class="code" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>  <a class="code" href="classschroot_1_1options.html#274c396fec7339f8bb4e294de62f02e6">chroots</a>;
79
 
<a name="l00070"></a><a class="code" href="classschroot_1_1options.html#6a2b3b7593f21f4d3b81508e88c0a134">00070</a>     std::string          <a class="code" href="classschroot_1_1options.html#6a2b3b7593f21f4d3b81508e88c0a134">chroot_path</a>;
80
 
<a name="l00072"></a><a class="code" href="classschroot_1_1options.html#7e2b954158158e264c7b73e2dd495709">00072</a>     <a class="code" href="namespacesbuild.html#4268c3202ab4b20cbebf347a6d69393f">sbuild::string_list</a>  <a class="code" href="classschroot_1_1options.html#7e2b954158158e264c7b73e2dd495709">command</a>;
81
 
<a name="l00074"></a><a class="code" href="classschroot_1_1options.html#cb32472f60708b7c0e19563bd8807a77">00074</a>     std::string          <a class="code" href="classschroot_1_1options.html#cb32472f60708b7c0e19563bd8807a77">user</a>;
82
 
<a name="l00076"></a><a class="code" href="classschroot_1_1options.html#7e51edc66995e8aca72b995f9bd6afdc">00076</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#7e51edc66995e8aca72b995f9bd6afdc">preserve</a>;
83
 
<a name="l00078"></a><a class="code" href="classschroot_1_1options.html#28f6687898a44a65579060153b01f24e">00078</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#28f6687898a44a65579060153b01f24e">quiet</a>;
84
 
<a name="l00080"></a><a class="code" href="classschroot_1_1options.html#382fe47e2ba4504f84c58e22c8e0a732">00080</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#382fe47e2ba4504f84c58e22c8e0a732">verbose</a>;
85
 
<a name="l00082"></a><a class="code" href="classschroot_1_1options.html#fa192f69aec4de04fe2ba2d23e8310c9">00082</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#fa192f69aec4de04fe2ba2d23e8310c9">all</a>;
86
 
<a name="l00084"></a><a class="code" href="classschroot_1_1options.html#cae7c0901f47cc9461ef9981c2b4aa0a">00084</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#cae7c0901f47cc9461ef9981c2b4aa0a">all_chroots</a>;
87
 
<a name="l00086"></a><a class="code" href="classschroot_1_1options.html#2a050bdfdde2231dfb9264631a88b277">00086</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#2a050bdfdde2231dfb9264631a88b277">all_sessions</a>;
88
 
<a name="l00088"></a><a class="code" href="classschroot_1_1options.html#c0016e04947dd25bb41f66b533115393">00088</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#c0016e04947dd25bb41f66b533115393">load_chroots</a>;
89
 
<a name="l00090"></a><a class="code" href="classschroot_1_1options.html#0d53b7f33c8fee03a0fc0cc198f74b64">00090</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#0d53b7f33c8fee03a0fc0cc198f74b64">load_sessions</a>;
90
 
<a name="l00092"></a><a class="code" href="classschroot_1_1options.html#bc507719e51e0f9148dd83a96b80a879">00092</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#bc507719e51e0f9148dd83a96b80a879">session_force</a>;
91
 
<a name="l00094"></a><a class="code" href="classschroot_1_1options.html#127e0ae9335c48bc6f275f16be25756c">00094</a>     <span class="keywordtype">bool</span>                 <a class="code" href="classschroot_1_1options.html#127e0ae9335c48bc6f275f16be25756c">dchroot_compat</a>;
92
 
<a name="l00095"></a>00095 
93
 
<a name="l00096"></a>00096   <span class="keyword">private</span>:
94
 
<a name="l00103"></a>00103     <span class="keywordtype">void</span>
95
 
<a name="l00104"></a>00104     <a class="code" href="classschroot_1_1options.html#217f87af461e4a864b579358adbbca75">set_action</a> (<a class="code" href="classschroot_1_1options.html#84e6848e8dfb91745bebeadcf19946c6">action_type</a> <a class="code" href="classschroot_1_1options.html#abdfe1035ff91aed0a1ca7658cd08dd9">action</a>);
96
 
<a name="l00105"></a>00105 
97
 
<a name="l00112"></a>00112     <span class="keywordtype">bool</span>
98
 
<a name="l00113"></a><a class="code" href="classschroot_1_1options.html#6dfea4308a1f34d6394ee785f47283b1">00113</a>     <a class="code" href="classschroot_1_1options.html#6dfea4308a1f34d6394ee785f47283b1">all_used</a> ()<span class="keyword"> const</span>
99
 
<a name="l00114"></a>00114 <span class="keyword">    </span>{
100
 
<a name="l00115"></a>00115       <span class="keywordflow">return</span> (this-&gt;all || this-&gt;all_chroots || this-&gt;all_sessions);
101
 
<a name="l00116"></a>00116     }
102
 
<a name="l00117"></a>00117 
103
 
<a name="l00118"></a>00118   };
104
 
<a name="l00119"></a>00119 
105
 
<a name="l00120"></a>00120 }
106
 
<a name="l00121"></a>00121 
107
 
<a name="l00122"></a>00122 <span class="preprocessor">#endif </span><span class="comment">/* SCHROOT_OPTIONS_H */</span>
108
 
<a name="l00123"></a>00123 
109
 
<a name="l00124"></a>00124 <span class="comment">/*</span>
110
 
<a name="l00125"></a>00125 <span class="comment"> * Local Variables:</span>
111
 
<a name="l00126"></a>00126 <span class="comment"> * mode:C++</span>
112
 
<a name="l00127"></a>00127 <span class="comment"> * End:</span>
113
 
<a name="l00128"></a>00128 <span class="comment"> */</span>
114
 
<a name="l00129"></a>00129 
115
 
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Sat Jun 17 14:41:22 2006 for schroot by&nbsp;
 
65
<a name="l00053"></a>00053 }
 
66
<a name="l00054"></a>00054 
 
67
<a name="l00055"></a>00055 <span class="preprocessor">#endif </span><span class="comment">/* SCHROOT_OPTIONS_H */</span>
 
68
<a name="l00056"></a>00056 
 
69
<a name="l00057"></a>00057 <span class="comment">/*</span>
 
70
<a name="l00058"></a>00058 <span class="comment"> * Local Variables:</span>
 
71
<a name="l00059"></a>00059 <span class="comment"> * mode:C++</span>
 
72
<a name="l00060"></a>00060 <span class="comment"> * End:</span>
 
73
<a name="l00061"></a>00061 <span class="comment"> */</span>
 
74
<a name="l00062"></a>00062 
 
75
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jul 6 19:21:42 2006 for schroot by&nbsp;
116
76
<a href="http://www.doxygen.org/index.html">
117
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
 
77
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
118
78
</body>
119
79
</html>