Define an interface for getting parameter settings. More...
#include <Defaults.h>
Public Member Functions | |
Defaults () | |
virtual bool | exists (std::string name) const =0 |
virtual bool | get_bool (std::string name) const =0 |
virtual double | get_float (std::string name) const =0 |
virtual int | get_int (std::string name) const =0 |
virtual std::string | get_string (std::string name) const =0 |
virtual | ~Defaults () |
Define an interface for getting parameter settings.
Definition at line 61 of file Defaults.h.
|
inline |
|
inlinevirtual |
Destructor
Definition at line 77 of file Defaults.h.
References exists(), get_bool(), get_float(), get_int(), get_string(), dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
|
pure virtual |
Test to see if parameter name exists.
name | The parameter name to be checked. |
Implemented in hitfit::Defaults_Text.
Referenced by ~Defaults().
|
pure virtual |
Get the value of name as boolean.
name | The parameter name. |
Implemented in hitfit::Defaults_Text.
Referenced by hitfit::Chisq_Constrainer_Args::Chisq_Constrainer_Args(), and ~Defaults().
|
pure virtual |
Get the value of name as a floating-point of type double.
name | The parameter name. |
Implemented in hitfit::Defaults_Text.
Referenced by hitfit::Chisq_Constrainer_Args::Chisq_Constrainer_Args(), and ~Defaults().
|
pure virtual |
Get the value of name as integer.
name | The parameter name. |
Implemented in hitfit::Defaults_Text.
Referenced by hitfit::Chisq_Constrainer_Args::Chisq_Constrainer_Args(), and ~Defaults().
|
pure virtual |
Get the value of name as a string.
name | The parameter name. |
Implemented in hitfit::Defaults_Text.
Referenced by ~Defaults().