sbuild  1.6.10
sbuild-keyfile-base.h
1 /* Copyright © 2005-2008 Roger Leigh <rleigh@debian.org>
2  *
3  * schroot is free software: you can redistribute it and/or modify it
4  * under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * schroot is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see
15  * <http://www.gnu.org/licenses/>.
16  *
17  *********************************************************************/
18 
19 #ifndef SBUILD_KEYFILE_BASE_H
20 #define SBUILD_KEYFILE_BASE_H
21 
22 #include <sbuild/sbuild-i18n.h>
23 #include <sbuild/sbuild-log.h>
24 #include <sbuild/sbuild-parse-error.h>
25 #include <sbuild/sbuild-parse-value.h>
26 #include <sbuild/sbuild-types.h>
27 #include <sbuild/sbuild-tr1types.h>
28 #include <sbuild/sbuild-util.h>
29 
30 #include <cassert>
31 #include <map>
32 #include <string>
33 #include <sstream>
34 
35 #include <boost/format.hpp>
36 
37 namespace sbuild
38 {
39 
44  {
45  public:
47  enum priority
48  {
54  };
55 
58  {
80  };
81 
84 
86  keyfile_base ();
87 
89  virtual ~keyfile_base ();
90 
91  };
92 
93 }
94 
95 #endif /* SBUILD_KEYFILE_BASE_H */
96 
97 /*
98  * Local Variables:
99  * mode:C++
100  * End:
101  */
error_code
Error codes.
Definition: sbuild-keyfile-base.h:57
Pass through exception with line and group.
Definition: sbuild-keyfile-base.h:77
The group is invalid.
Definition: sbuild-keyfile-base.h:66
TR1 type substitution.
virtual ~keyfile_base()
The destructor.
Definition: sbuild-keyfile-base.cc:147
Debian source builder components.
Definition: sbuild-auth-null.h:24
priority
Configuration parameter priority.
Definition: sbuild-keyfile-base.h:47
The group is a duplicate.
Definition: sbuild-keyfile-base.h:64
The key is deprecated.
Definition: sbuild-keyfile-base.h:60
Pass through exception with line, group and key.
Definition: sbuild-keyfile-base.h:78
The parameter is obsolete, and not functional.
Definition: sbuild-keyfile-base.h:53
The parameter is required.
Definition: sbuild-keyfile-base.h:50
The line is invalid.
Definition: sbuild-keyfile-base.h:68
The key is obsolete (no line specified).
Definition: sbuild-keyfile-base.h:74
parse_error< error_code > error
Exception type.
Definition: sbuild-keyfile-base.h:83
The key is missing (no line specified).
Definition: sbuild-keyfile-base.h:70
No key was specified.
Definition: sbuild-keyfile-base.h:72
The key is not allowed (no line specified).
Definition: sbuild-keyfile-base.h:63
The parameter is not allowed in this context.
Definition: sbuild-keyfile-base.h:51
The file to parse couldn&#39;t be opened.
Definition: sbuild-keyfile-base.h:59
keyfile_base()
The constructor.
Definition: sbuild-keyfile-base.cc:143
Parse error.
Definition: sbuild-parse-error.h:35
No group was specified.
Definition: sbuild-keyfile-base.h:71
Internationalisation functions.
The key is deprecated (no line specified).
Definition: sbuild-keyfile-base.h:61
The key is missing.
Definition: sbuild-keyfile-base.h:69
Base class for key-value configuration file formats.
Definition: sbuild-keyfile-base.h:43
The key is invalid.
Definition: sbuild-keyfile-base.h:67
Pass through exception with group.
Definition: sbuild-keyfile-base.h:75
The key is a duplicate.
Definition: sbuild-keyfile-base.h:65
The key is unknown.
Definition: sbuild-keyfile-base.h:79
The key is not allowed.
Definition: sbuild-keyfile-base.h:62
The parameter is deprecated, but functional.
Definition: sbuild-keyfile-base.h:52
Pass through exception with group and key.
Definition: sbuild-keyfile-base.h:76
The parameter is optional.
Definition: sbuild-keyfile-base.h:49
The key is obsolete.
Definition: sbuild-keyfile-base.h:73