Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
parameterManager.h
Go to the documentation of this file.
1 
14 #ifndef PARAMETERMANAGER_INCLUDED
15 #define PARAMETERMANAGER_INCLUDED
16 
17 #include "configure.h"
18 #include "bridge_defs.h"
19 #include "parameters.h"
20 #include "commonParameters.h"
21 
23 
29 {
30  public:
31  static const std::string class_name;
32 
33  protected:
34 
36 
37  public:
38 
40 
41  virtual ~ParameterManager() {}
42 
43  private:
44  // non-copyable
47 
48  public:
49 
50  virtual void
51  read_params(const std::string& params_file, Parameters& params) = 0;
52 
53  static
54  void read(const std::string& params_file, Parameters& params);
55 
56  static
57  Parameters read(const std::string& params_file);
58 
60 };
61 #endif
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Class for parameters.
Definition: parameters.h:46
virtual ~ParameterManager()
static const std::string class_name
Common parameter class: provides parameters as singleton.
static void read(const std::string &params_file, Parameters &params)
virtual void read_params(const std::string &params_file, Parameters &params)=0
Bridge::VerboseLevel vl
VerboseLevel
Definition: bridgeIO.h:42
Bridge::VerboseLevel m_vl
ParameterManager & operator=(const ParameterManager &)
Base class of parameter manager.