44 : m_InitTime(params.m_Initial.m_DefaultValue),
45 m_MaxTime(params.m_Maximal.m_DefaultValue),
46 m_Multiplier(params.m_Multiplier.m_DefaultValue),
47 m_Increment(params.m_Increment.m_DefaultValue)
62 const string& driver_name,
74 const string& section,
97 const string& driver_name,
110 if (
value.empty() ) {
118 const string& driver_name,
129 if (
value.empty() ) {
double GetTime(int step) const
static double x_GetDoubleParam(CConfig &conf, const string &driver_name, const SParam ¶m)
CIncreasingTime(const SAllParams ¶ms)
void Init(CConfig &conf, const string &driver_name, const SAllParams ¶ms)
void x_VerifyParams(void)
definition of a Culling tree
static TParamTree * ConvertRegToTree(const IRegistry ®, NStr::ECase use_case=NStr::eNocase)
Reconstruct param tree from the application registry.
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 ...
@ eErr_NoThrow
Return default value on error.
virtual string GetString(const string §ion, const string &name, const string &default_value, TFlags flags=0) const
Get the parameter string value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static double StringToDouble(const CTempStringEx str, TStringToNumFlags flags=0)
Convert string to double.
@ fDecimalPosixOrLocal
StringToDouble*(): For decimal point, try both C and current locale.
const TTreeType * FindSubNode(const TKeyType &key) const
Non recursive linear scan of all subnodes, with key comparison.
const GenericPointer< typename T::ValueType > T2 value
Parameters initialization model.
Process information in the NCBI Registry, including working with configuration files.
const char * m_ParamName2