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

« back to all changes in this revision

Viewing changes to doc/schroot/html/schroot-listmounts-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/schroot-listmounts/schroot-listmounts-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_1e31bf4bbfcaa00ba61d10b33b7db670.html">schroot-listmounts</a>
26
 
  </div>
27
 
</div>
28
 
<div class="contents">
29
 
<h1>schroot-listmounts-options.h</h1><a href="schroot-listmounts-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 SCHROOT_LISTMOUNTS_OPTIONS_H</span>
48
 
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define SCHROOT_LISTMOUNTS_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;string&gt;</span>
53
 
<a name="l00025"></a>00025 
54
 
<a name="l00026"></a>00026 <span class="keyword">namespace </span>schroot_listmounts
55
 
<a name="l00027"></a>00027 {
56
 
<a name="l00028"></a>00028 
57
 
<a name="l00032"></a><a class="code" href="classschroot__listmounts_1_1options.html">00032</a>   <span class="keyword">class </span><a class="code" href="classschroot__listmounts_1_1options.html" title="schroot-listmounts command-line options.">options</a> : <span class="keyword">public</span> schroot_base::<a class="code" href="classschroot__listmounts_1_1options.html" title="schroot-listmounts command-line options.">options</a>
58
 
<a name="l00033"></a>00033   {
59
 
<a name="l00034"></a>00034   <span class="keyword">public</span>:
60
 
<a name="l00036"></a><a class="code" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429">00036</a>     <span class="keyword">typedef</span> std::tr1::shared_ptr&lt;options&gt; <a class="code" href="classschroot__listmounts_1_1options.html#dd79e62137f08126252143ccf63dc429" title="A shared_ptr to an options object.">ptr</a>;
61
 
<a name="l00037"></a>00037 
62
 
<a name="l00039"></a><a class="code" href="classschroot__listmounts_1_1options.html#71855190faf1edb9b7860e2032fa0b93">00039</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="classschroot__listmounts_1_1options.html#71855190faf1edb9b7860e2032fa0b93" title="Begin, run and end a session.">ACTION_LISTMOUNTS</a>;
63
 
<a name="l00040"></a>00040 
64
 
<a name="l00042"></a>00042     <a class="code" href="classschroot__listmounts_1_1options.html#41a256b4ba3b2d68a2d72b9245aa0c4d" title="The constructor.">options</a> ();
65
 
<a name="l00043"></a>00043 
66
 
<a name="l00045"></a>00045     <span class="keyword">virtual</span> <a class="code" href="classschroot__listmounts_1_1options.html#eb360f60766b8cff26c8ec46c1bc78ca" title="The destructor.">~options</a> ();
67
 
<a name="l00046"></a>00046 
68
 
<a name="l00048"></a><a class="code" href="classschroot__listmounts_1_1options.html#70928a7511906c9370dc9595d965604a">00048</a>     std::string <a class="code" href="classschroot__listmounts_1_1options.html#70928a7511906c9370dc9595d965604a" title="The mountpoint to check.">mountpoint</a>;
69
 
<a name="l00049"></a>00049 
70
 
<a name="l00050"></a>00050   <span class="keyword">protected</span>:
71
 
<a name="l00051"></a>00051     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
72
 
<a name="l00052"></a>00052     <a class="code" href="classschroot__listmounts_1_1options.html#9552a1fefc227463e48e29f4dae89986" title="Add options to option groups.">add_options</a> ();
73
 
<a name="l00053"></a>00053 
74
 
<a name="l00054"></a>00054     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
75
 
<a name="l00055"></a>00055     <a class="code" href="classschroot__listmounts_1_1options.html#2b423dd600612e9e574674631ecb0fa9" title="Add option groups to container groups.">add_option_groups</a> ();
76
 
<a name="l00056"></a>00056 
77
 
<a name="l00057"></a>00057     <span class="keyword">virtual</span> <span class="keywordtype">void</span>
78
 
<a name="l00058"></a>00058     <a class="code" href="classschroot__listmounts_1_1options.html#f4d23a59c343dd177d1041557c8f5f25" title="Check options after parsing.">check_options</a> ();
79
 
<a name="l00059"></a>00059 
80
 
<a name="l00061"></a><a class="code" href="classschroot__listmounts_1_1options.html#e2324d5efce56e75ad421fbe1f9230d1">00061</a>     boost::program_options::options_description <a class="code" href="classschroot__listmounts_1_1options.html#e2324d5efce56e75ad421fbe1f9230d1" title="Mount options group.">mount</a>;
81
 
<a name="l00062"></a>00062   };
82
 
<a name="l00063"></a>00063 
83
 
<a name="l00064"></a>00064 }
84
 
<a name="l00065"></a>00065 
85
 
<a name="l00066"></a>00066 <span class="preprocessor">#endif </span><span class="comment">/* SCHROOT_LISTMOUNTS_OPTIONS_H */</span>
86
 
<a name="l00067"></a>00067 
87
 
<a name="l00068"></a>00068 <span class="comment">/*</span>
88
 
<a name="l00069"></a>00069 <span class="comment"> * Local Variables:</span>
89
 
<a name="l00070"></a>00070 <span class="comment"> * mode:C++</span>
90
 
<a name="l00071"></a>00071 <span class="comment"> * End:</span>
91
 
<a name="l00072"></a>00072 <span class="comment"> */</span>
92
 
</pre></div></div>
93
 
<hr size="1"><address style="text-align: right;"><small>Generated on Sun May 17 18:38:54 2009 for schroot by&nbsp;
94
 
<a href="http://www.doxygen.org/index.html">
95
 
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
96
 
</body>
97
 
</html>