14 #ifndef PARAMETERS_INCLUDED
15 #define PARAMETERS_INCLUDED
55 void set_bool(
const string& key,
const bool value);
56 void set_double(
const string& key,
const double value);
57 void set_int(
const string& key,
const int value);
58 void set_string(
const string& key,
const string& value);
66 int get_int(
const string& key)
const;
69 bool get_bool(
const string& key)
const;
82 int fetch_double(
const string& key,
double& value)
const;
83 int fetch_int(
const string& key,
int& value)
const;
85 int fetch_string(
const string& key,
string& value)
const;
86 int fetch_bool(
const string& key,
bool& value)
const;
93 bool find_int(
const string& key)
const;
102 bool is_set(
const string& key)
const;
106 void Register_int(
const string& key,
const int defvalue);
140 void print(
const string& indent =
"")
const;
147 std::stringstream ss;
150 for (
size_t i = 0, n = v.size(); i < n; ++i) {
151 if (i > 0) ss <<
", ";
map< string, vector< string > > m_map_string_vector
void set_Parameters(const string &key, const Parameters &value)
Parameters get_Parameters(const string &key) const
int fetch_bool(const string &key, bool &value) const
int fetch_double_vector(const string &key, vector< double > &value) const
int convert_to_int(const string &) const
void set_int_vector(const string &key, const vector< int > &value)
void set_int(const string &key, const int value)
static const std::string class_name
bool get_bool(const string &key) const
int fetch_double(const string &key, double &value) const
bool find_bool(const string &key) const
bool find_unsigned_long(const string &key) const
void Register_int(const string &key, const int defvalue)
bool find_int_vector(const string &key) const
int get_int(const string &key) const
double convert_to_double(const string &) const
void Register_double_vector(const string &key, const vector< double > &defvalue)
int fetch_string(const string &key, string &value) const
void Register_Parameters(const string &key, const Parameters &defvalue)
Parameters lookup(const string &key) const
void set_string(const string &key, const string &value)
Bridge::VerboseLevel m_vlevel
void set_bool(const string &key, const bool value)
unsigned long get_unsigned_long(const string &key) const
double get_double(const string &key) const
Parameters & lookup(const string &key)
int fetch_int(const string &key, int &value) const
void set_VerboseLevel(const Bridge::VerboseLevel value)
bool find_Parameters(const string &key) const
void print(const string &indent="") const
Bridge::VerboseLevel get_VerboseLevel() const
void Register_double(const string &key, const double defvalue)
void Register_int_vector(const string &key, const vector< int > &defvalue)
map< string, Parameters > m_map_parameters
bool is_set(const string &key) const
bool find_double(const string &key) const
bool find_int(const string &key) const
void set_double_vector(const string &key, const vector< double > &value)
void Register_string(const string &key, const string &defvalue)
map< string, double > m_map_double
map< string, string > m_map_string
void set_double(const string &key, const double value)
void Register_string_vector(const string &key, const vector< string > &defvalue)
int fetch_string_vector(const string &key, vector< string > &value) const
map< string, vector< double > > m_map_double_vector
vector< double > get_double_vector(const string &key) const
vector< string > get_string_vector(const string &key) const
bool find_string(const string &key) const
map< string, int > m_map_int
map< string, vector< int > > m_map_int_vector
int fetch_unsigned_long(const string &key, unsigned long &value) const
string get_string(const string &key) const
int fetch_int_vector(const string &key, vector< int > &value) const
bool convert_to_bool(const string &) const
vector< int > get_int_vector(const string &key) const
bool find_double_vector(const string &key) const
bool find_string_vector(const string &key) const
int fetch_VerboseLevel(Bridge::VerboseLevel &value) const
void set_string_vector(const string &key, const vector< string > &value)
static string to_string(const vector< T > &v)