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

« back to all changes in this revision

Viewing changes to doc/schroot/html/csbuild-options_8h_source.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>schroot: bin/csbuild/csbuild-options.h Source File</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><a href="annotated.html"><span>Classes</span></a></li>
15
 
      <li class="current"><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="files.html"><span>File&nbsp;List</span></a></li>
22
 
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
23
 
    </ul>
24
 
  </div>
25
 
  <div class="navpath"><a class="el" href="dir_e0346f47c6f214df3430baeb5575a4dd.html">bin</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_5977fef403964fb2fadb778c22c7780d.html">csbuild</a>
26
 
  </div>
27
 
</div>
28
 
<div class="contents">
29
 
<h1>csbuild-options.h</h1><a href="csbuild-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-2007  Roger Leigh &lt;rleigh@debian.org&gt;</span>
30
 
<a name="l00002"></a>00002 <span class="comment"> *</span>
31
 
<a name="l00003"></a>00003 <span class="comment"> * schroot is free software: you can redistribute it and/or modify it</span>
32
 
<a name="l00004"></a>00004 <span class="comment"> * under the terms of the GNU General Public License as published by</span>
33
 
<a name="l00005"></a>00005 <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span>
34
 
<a name="l00006"></a>00006 <span class="comment"> * (at your option) any later version.</span>
35
 
<a name="l00007"></a>00007 <span class="comment"> *</span>
36
 
<a name="l00008"></a>00008 <span class="comment"> * schroot is distributed in the hope that it will be useful, but</span>
37
 
<a name="l00009"></a>00009 <span class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</span>
38
 
<a name="l00010"></a>00010 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
39
 
<a name="l00011"></a>00011 <span class="comment"> * General Public License for more details.</span>
40
 
<a name="l00012"></a>00012 <span class="comment"> *</span>
41
 
<a name="l00013"></a>00013 <span class="comment"> * You should have received a copy of the GNU General Public License</span>
42
 
<a name="l00014"></a>00014 <span class="comment"> * along with this program.  If not, see</span>
43
 
<a name="l00015"></a>00015 <span class="comment"> * &lt;http://www.gnu.org/licenses/&gt;.</span>
44
 
<a name="l00016"></a>00016 <span class="comment"> *</span>
45
 
<a name="l00017"></a>00017 <span class="comment"> *********************************************************************/</span>
46
 
<a name="l00018"></a>00018 
47
 
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef CSBUILD_OPTIONS_H</span>
48
 
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define CSBUILD_OPTIONS_H</span>
49
 
<a name="l00021"></a>00021 <span class="preprocessor"></span>
50
 
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;<a class="code" href="schroot-base-options_8h.html">schroot-base/schroot-base-options.h</a>&gt;</span>
51
 
<a name="l00023"></a>00023 
52
 
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;sbuild/sbuild-types.h&gt;</span>
53
 
<a name="l00025"></a>00025 
54
 
<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;string&gt;</span>
55
 
<a name="l00027"></a>00027 
56
 
<a name="l00028"></a>00028 <span class="keyword">namespace </span>csbuild
57
 
<a name="l00029"></a>00029 {
58
 
<a name="l00030"></a>00030 
59
 
<a name="l00034"></a><a class="code" href="classcsbuild_1_1options.html">00034</a>   <span class="keyword">class </span><a class="code" href="classcsbuild_1_1options.html" title="csbuild command-line options.">options</a> : <span class="keyword">public</span> schroot_base::<a class="code" href="classcsbuild_1_1options.html" title="csbuild command-line options.">options</a>
60
 
<a name="l00035"></a>00035   {
61
 
<a name="l00036"></a>00036   <span class="keyword">public</span>:
62
 
<a name="l00038"></a><a class="code" href="classcsbuild_1_1options.html#58c6603359807ec6fee428d6af3debc8">00038</a>     <span class="keyword">typedef</span> std::tr1::shared_ptr&lt;options&gt; <a class="code" href="classcsbuild_1_1options.html#58c6603359807ec6fee428d6af3debc8" title="A shared_ptr to an options object.">ptr</a>;
63
 
<a name="l00039"></a>00039 
64
 
<a name="l00041"></a><a class="code" href="classcsbuild_1_1options.html#0d341b72be643c338b8991ead7542b25">00041</a>     <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classschroot__base_1_1options.html#738829089001ef82d3f79489a14955b8">action_type</a> <a class="code" href="classcsbuild_1_1options.html#0d341b72be643c338b8991ead7542b25" title="Begin, run and end a session.">ACTION_BUILD</a>;
65
 
<a name="l00042"></a>00042 
66
 
<a name="l00044"></a>00044     <a class="code" href="classcsbuild_1_1options.html#41a256b4ba3b2d68a2d72b9245aa0c4d" title="The constructor.">options</a> ();
67
 
<a name="l00045"></a>00045 
68
 
<a name="l00047"></a>00047     <span class="keyword">virtual</span> <a class="code" href="classcsbuild_1_1options.html#eb360f60766b8cff26c8ec46c1bc78ca" title="The destructor.">~options</a> ();
69
 
<a name="l00048"></a>00048 
70
 
<a name="l00050"></a><a class="code" href="classcsbuild_1_1options.html#cc1a209b0e92d9ed07b651485b530e32">00050</a>     <span class="keywordtype">bool</span>  <a class="code" href="classcsbuild_1_1options.html#cc1a209b0e92d9ed07b651485b530e32" title="No logging.">nolog</a>;
71
 
<a name="l00051"></a>00051 
72
 
<a name="l00053"></a><a class="code" href="classcsbuild_1_1options.html#7535d0d9c6666222137276f05da2e0c6">00053</a>     <span class="keywordtype">bool</span> <a class="code" href="classcsbuild_1_1options.html#7535d0d9c6666222137276f05da2e0c6" title="Build architecture all packages.">build_arch_all</a>;
73
 
<a name="l00054"></a>00054 
74
 
<a name="l00056"></a><a class="code" href="classcsbuild_1_1options.html#72c5e62d66339ff25847923c25a67471">00056</a>     <span class="keywordtype">bool</span> <a class="code" href="classcsbuild_1_1options.html#72c5e62d66339ff25847923c25a67471" title="Build source package.">build_source</a>;
75
 
<a name="l00057"></a>00057 
76
 
<a name="l00059"></a><a class="code" href="classcsbuild_1_1options.html#553c35892b51cfcf980a249026bcd085">00059</a>     <span class="keywordtype">bool</span> <a class="code" href="classcsbuild_1_1options.html#553c35892b51cfcf980a249026bcd085" title="Force original source. dpkg-buildpackage -sa.">force_orig_source</a>;
77
 
<a name="l00060"></a>00060 
78
 
<a name="l00062"></a><a class="code" href="classcsbuild_1_1options.html#6fd62bc15da009af79490526086369af">00062</a>     std::string <a class="code" href="classcsbuild_1_1options.html#6fd62bc15da009af79490526086369af" title="Distribution.">distribution</a>;
79
 
<a name="l00063"></a>00063 
80
 
<a name="l00065"></a><a class="code" href="classcsbuild_1_1options.html#510ca2a4aab139e946b4e62bc039fb5d">00065</a>     std::string <a class="code" href="classcsbuild_1_1options.html#510ca2a4aab139e946b4e62bc039fb5d" title="Purge build directory.">purge_string</a>;
81
 
<a name="l00066"></a>00066 
82
 
<a name="l00068"></a><a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152">00068</a>     <span class="keyword">enum</span> <a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152" title="Purge modes.">purge_mode</a>
83
 
<a name="l00069"></a>00069       {
84
 
<a name="l00070"></a><a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152884a3909af5b1e615f08cdef87564636">00070</a>         <a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152884a3909af5b1e615f08cdef87564636" title="Always purge build.">PURGE_ALWAYS</a>,  
85
 
<a name="l00071"></a><a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152fc84d7415be18f50443195348d99e368">00071</a>         <a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152fc84d7415be18f50443195348d99e368" title="Purge build on success only.">PURGE_SUCCESS</a>, 
86
 
<a name="l00072"></a><a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c031527337a2331811004df8a41b1331c0490d">00072</a>         <a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c031527337a2331811004df8a41b1331c0490d" title="Never purge build.">PURGE_NEVER</a>    
87
 
<a name="l00073"></a>00073       };
88
 
<a name="l00074"></a>00074 
89
 
<a name="l00076"></a><a class="code" href="classcsbuild_1_1options.html#d0a0b2ce533bba04335ecc86f409a9e5">00076</a>     <a class="code" href="classcsbuild_1_1options.html#528fe3c65134bc03f14de12f26c03152" title="Purge modes.">purge_mode</a> <a class="code" href="classcsbuild_1_1options.html#d0a0b2ce533bba04335ecc86f409a9e5" title="Purge build directory.">purge</a>;
90
 
<a name="l00077"></a>00077 
91
 
<a name="l00079"></a><a class="code" href="classcsbuild_1_1options.html#f08d01969d8d8ce04636a799fc0af876">00079</a>     std::string <a class="code" href="classcsbuild_1_1options.html#f08d01969d8d8ce04636a799fc0af876" title="Maintainer.">maintainer</a>;
92
 
<a name="l00080"></a>00080 
93
 
<a name="l00082"></a><a class="code" href="classcsbuild_1_1options.html#e2eca5597b882622adc763671f0aad9e">00082</a>     std::string <a class="code" href="classcsbuild_1_1options.html#e2eca5597b882622adc763671f0aad9e" title="Key ID.">keyid</a>;
94
 
<a name="l00083"></a>00083 
95
 
<a name="l00085"></a><a class="code" href="classcsbuild_1_1options.html#d4c92c902adda543490b9027f78d0b71">00085</a>     std::string <a class="code" href="classcsbuild_1_1options.html#d4c92c902adda543490b9027f78d0b71" title="Uploader.">uploader</a>;
96
 
<a name="l00086"></a>00086 
97
 
<a name="l00088"></a><a class="code" href="classcsbuild_1_1options.html#fd5a723b8718c84e137c6dd1fa350e75">00088</a>     sbuild::string_list <a class="code" href="classcsbuild_1_1options.html#fd5a723b8718c84e137c6dd1fa350e75" title="Forced dependencies.">forced_dependencies</a>;
98
 
<a name="l00089"></a>00089 
99
 
<a name="l00091"></a><a class="code" href="classcsbuild_1_1options.html#e0ff4990268c28703d158e8dca32d665">00091</a>     sbuild::string_list <a class="code" href="classcsbuild_1_1options.html#e0ff4990268c28703d158e8dca32d665" title="Additional dependencies.">additional_dependencies</a>;
100
 
<a name="l00092"></a>00092 
101
 
<a name="l00094"></a><a class="code" href="classcsbuild_1_1options.html#a176079afa743ac57bc931dd8fa01960">00094</a>     <span class="keywordtype">bool</span> <a class="code" href="classcsbuild_1_1options.html#a176079afa743ac57bc931dd8fa01960" title="Make a binary non-maintainer upload.">bin_nmu</a>;
102
 
<a name="l00095"></a>00095 
103
 
<a name="l00097"></a><a class="code" href="classcsbuild_1_1options.html#72020ec29c9033b5eea217ac4a7edce0">00097</a>     <span class="keywordtype">bool</span> <a class="code" href="classcsbuild_1_1options.html#72020ec29c9033b5eea217ac4a7edce0" title="Use the current GCC snapshot to build.">gcc_snapshot</a>;
104
 
<a name="l00098"></a>00098 
105
 
<a name="l00099"></a>00099   <span class="keyword">protected</span>:
106
 
<a name="l00100"></a>00100     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
107
 
<a name="l00101"></a>00101     <a class="code" href="classcsbuild_1_1options.html#9552a1fefc227463e48e29f4dae89986" title="Add options to option groups.">add_options</a> ();
108
 
<a name="l00102"></a>00102 
109
 
<a name="l00103"></a>00103     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
110
 
<a name="l00104"></a>00104     <a class="code" href="classcsbuild_1_1options.html#2b423dd600612e9e574674631ecb0fa9" title="Add option groups to container groups.">add_option_groups</a> ();
111
 
<a name="l00105"></a>00105 
112
 
<a name="l00106"></a>00106     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
113
 
<a name="l00107"></a>00107     <a class="code" href="classcsbuild_1_1options.html#f4d23a59c343dd177d1041557c8f5f25" title="Check options after parsing.">check_options</a> ();
114
 
<a name="l00108"></a>00108 
115
 
<a name="l00110"></a><a class="code" href="classcsbuild_1_1options.html#ff7a342a3e0e996eb4a3e94761d519f4">00110</a>     boost::program_options::options_description <a class="code" href="classcsbuild_1_1options.html#ff7a342a3e0e996eb4a3e94761d519f4" title="Build options group.">build</a>;
116
 
<a name="l00111"></a>00111 
117
 
<a name="l00113"></a><a class="code" href="classcsbuild_1_1options.html#f4afc8a1d77e8e7ad0333c16254b7a3a">00113</a>     boost::program_options::options_description <a class="code" href="classcsbuild_1_1options.html#f4afc8a1d77e8e7ad0333c16254b7a3a" title="User options group.">user</a>;
118
 
<a name="l00114"></a>00114 
119
 
<a name="l00116"></a><a class="code" href="classcsbuild_1_1options.html#3e3349ccfcbed2c8b571e31235b403f9">00116</a>     boost::program_options::options_description <a class="code" href="classcsbuild_1_1options.html#3e3349ccfcbed2c8b571e31235b403f9" title="Special options group.">special</a>;
120
 
<a name="l00117"></a>00117 
121
 
<a name="l00118"></a>00118   };
122
 
<a name="l00119"></a>00119 
123
 
<a name="l00120"></a>00120 }
124
 
<a name="l00121"></a>00121 
125
 
<a name="l00122"></a>00122 <span class="preprocessor">#endif </span><span class="comment">/* CSBUILD_OPTIONS_H */</span>
126
 
<a name="l00123"></a>00123 
127
 
<a name="l00124"></a>00124 <span class="comment">/*</span>
128
 
<a name="l00125"></a>00125 <span class="comment"> * Local Variables:</span>
129
 
<a name="l00126"></a>00126 <span class="comment"> * mode:C++</span>
130
 
<a name="l00127"></a>00127 <span class="comment"> * End:</span>
131
 
<a name="l00128"></a>00128 <span class="comment"> */</span>
132
 
</pre></div></div>
133
 
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:38:54 2009 for schroot by&nbsp;
134
 
<a href="http://www.doxygen.org/index.html">
135
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
136
 
</body>
137
 
</html>