Base class for representing user preferences a la windows INI files.The real implementation is in Python, and is accessable from C++ via the magic of SWIG directors.
More...
|
| gr_prefs () |
|
virtual | ~gr_prefs () |
|
virtual bool | has_section (const std::string §ion) |
| Does section exist? More...
|
|
virtual bool | has_option (const std::string §ion, const std::string &option) |
| Does option exist? More...
|
|
virtual const std::string | get_string (const std::string §ion, const std::string &option, const std::string &default_val) |
| If option exists return associated value; else default_val. More...
|
|
virtual bool | get_bool (const std::string §ion, const std::string &option, bool default_val) |
| If option exists and value can be converted to bool, return it; else default_val. More...
|
|
virtual long | get_long (const std::string §ion, const std::string &option, long default_val) |
| If option exists and value can be converted to long, return it; else default_val. More...
|
|
virtual double | get_double (const std::string §ion, const std::string &option, double default_val) |
| If option exists and value can be converted to double, return it; else default_val. More...
|
|
Base class for representing user preferences a la windows INI files.
The real implementation is in Python, and is accessable from C++ via the magic of SWIG directors.