next up previous contents
Next: add_xxx Up: Config class Previous: Reading and writing   Contents

Subsections

select_xxx

Syntax

short select_string(const string section, const string parameter,
                    string & value);
short select_bool(const string section, const string parameter,
                  bool & value);
short select_short(const string section, const string parameter,
                   short & value);
short select_int(const string section, const string parameter,
                 int & value);
short select_double(const string section, const string parameter,
                    double & value);

Description

These member functions are use to assign to the variable value the value of the parameter parameter from section section section.

Return Value

Status, as a short int.
0 successful
SECTION_OR_PARAMETER_DOES_NOT_EXIST



Richard Gourdeau 2004-07-06