Bridge++  Ver. 2.0.2
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
ParameterManager::set_parameter_verboselevel
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: parameterManager.h:59
CommonParameters
Common parameter class: provides parameters as singleton.
Definition: commonParameters.h:42
Parameters
Class for parameters.
Definition: parameters.h:46
ParameterManager::~ParameterManager
virtual ~ParameterManager()
Definition: parameterManager.h:41
ParameterManager::ParameterManager
ParameterManager()
Definition: parameterManager.h:39
ParameterManager
Base class of parameter manager.
Definition: parameterManager.h:28
ParameterManager::class_name
static const std::string class_name
Definition: parameterManager.h:31
ParameterCheck::vl
Bridge::VerboseLevel vl
Definition: parameterCheck.cpp:18
ParameterManager::read
static void read(const std::string &params_file, Parameters &params)
Definition: parameterManager.cpp:33
ParameterManager::read_params
virtual void read_params(const std::string &params_file, Parameters &params)=0
parameters.h
ParameterManager::m_vl
Bridge::VerboseLevel m_vl
Definition: parameterManager.h:35
ParameterManager::operator=
ParameterManager & operator=(const ParameterManager &)
commonParameters.h
Bridge::VerboseLevel
VerboseLevel
Definition: bridgeIO.h:42
bridge_defs.h
configure.h