Util--  1.1
configfile.hh
Go to the documentation of this file.
1 #ifndef UTILMM_CONFIG_FILE_HH
2 #define UTILMM_CONFIG_FILE_HH
3 
6 #include <string>
7 
8 namespace utilmm
9 {
10  struct parse_error : public std::exception
11  {
12  int const line;
13  std::string const message;
14 
15  explicit parse_error(int line, std::string const& message);
16  ~parse_error() throw() {}
17  };
18 
23  class config_file : public config_set
24  {
25  private:
26  void read(const std::string& name);
27 
28  public:
29 
34  config_file(const std::string& name);
35  };
36 }
37 
38 #endif
39 
Definition: configfile.hh:23
~parse_error()
Definition: configfile.hh:16
Definition: configset.hh:24
int const line
Definition: configfile.hh:12
Definition: auto_flag.hh:6
Definition: configfile.hh:10
std::string const message
Definition: configfile.hh:13
parse_error(int line, std::string const &message)

Generated on Mon Oct 8 2018 08:38:45 for Util-- by doxygen 1.8.11
SourceForge.net Project Page