util/config.cc
/// Retrieve a Signed Integer value from section/param and deposit it
/// in value, returning true.  If the section.path cannot be found
/// then  value remains unchanged and this function returns false.
/// 
Retrieve a Signed Integer value from section/param and deposit it
in value, returning true.  If the section.path cannot be found
then  value remains unchanged and this function returns false.
Retrieve a Signed Integer value from section / param and deposit it in value returning true . If the section . path cannot be found then value remains unchanged and this function returns false .
bool Config::get_int(const char *section, const char *param, int &value)
{
    const Json::Value &val=m_croot[section][param];
    if (val.isNull()) {
        return false;
    }
    value = val.asInt();
    LOG_INFO(Lgr) << "Config " << section << "." << param << "=" 
                  << value;
    return true;
}
bool Config :: get_int ( const char * section , const char * param , int & value ) { const Json :: Value & val = m_croot [ section ] [ param ] ; if ( val . isNull ( ) ) { return false ; } value = val . asInt ( ) ; LOG_INFO ( Lgr ) << " " << section << " " << param << " " << value ; return true ; }
Retrieve a Signed Integer value from section/param and deposit it
in value, returning true.
Retrieve a Signed Integer value from section / param and deposit it in value returning true .