|
| CConfig (TParamTree *param_tree, EOwnership own=eTakeOwnership, NStr::ECase use_case=NStr::eNocase) |
| Optionally takes ownership on passed param_tree. More...
|
|
| CConfig (const TParamTree *param_tree, NStr::ECase use_case=NStr::eNocase) |
| Construct, take no tree ownership. More...
|
|
| CConfig (const IRegistry ®, NStr::ECase use_case=NStr::eNocase) |
| Take registry and create a config tree out of it. More...
|
|
| ~CConfig () |
|
string | GetString (const string &driver_name, const string ¶m_name, EErrAction on_error, const string &default_value, const list< string > *synonyms=NULL) |
| Utility function to get an element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
|
|
const string & | GetString (const string &driver_name, const string ¶m_name, EErrAction on_error, const list< string > *synonyms=NULL) |
| This version always defaults to the empty string so that it can safely return a reference. More...
|
|
int | GetInt (const string &driver_name, const string ¶m_name, EErrAction on_error, int default_value, const list< string > *synonyms=NULL) |
| Utility function to get an integer element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
|
|
Uint8 | GetDataSize (const string &driver_name, const string ¶m_name, EErrAction on_error, unsigned int default_value, const list< string > *synonyms=NULL) |
| Utility function to get an integer element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) This function understands KB, MB, GB qualifiers at the end of the string. More...
|
|
bool | GetBool (const string &driver_name, const string ¶m_name, EErrAction on_error, bool default_value, const list< string > *synonyms=NULL) |
| Utility function to get an integer element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
|
|
double | GetDouble (const string &driver_name, const string ¶m_name, EErrAction on_error, double default_value, const list< string > *synonyms=NULL) |
| Utility function to get a double element of parameter tree Throws an exception when mandatory parameter is missing (or returns the default value) More...
|
|
const TParamTree * | GetTree () const |
|
string | Get (const string &d, const string &p, EErrAction e, const string &v, const list< string > *s=NULL) |
| Overloading of getters for generic programming. More...
|
|
int | Get (const string &d, const string &p, EErrAction e, int v, const list< string > *s=NULL) |
|
bool | Get (const string &d, const string &p, EErrAction e, bool v, const list< string > *s=NULL) |
|
double | Get (const string &d, const string &p, EErrAction e, double v, const list< string > *s=NULL) |
|
Definition at line 72 of file ncbi_config.hpp.