|
| | IniFile (const std::string &path) |
| |
| | IniFile (const std::wstring &path) |
| |
| std::string | getString (const std::string &key, const std::string &defaultValue="") const |
| |
| int | getInt (const std::string &key, int defaultValue=0) const |
| |
| double | getDouble (const std::string &key, double defaultValue=0.0) const |
| |
| bool | getBool (const std::string &key, bool defaultValue=false) const |
| |
| std::wstring | getWString (const std::string &key, const std::wstring &defaultValue=L"") const |
| |
| void | setValue (const std::string &key, int value) |
| |
| void | setValue (const std::string &key, double value) |
| |
| void | setValue (const std::string &key, bool value) |
| |
| void | setValue (const std::string &key, const std::string &value) |
| |
| void | setValue (const std::string &key, const std::wstring &value) |
| |
| void | sync () const |
| |
Simple INI file reader/writer with section/key support.
Keys are stored as "section/key" internally. Supports string, int, double, bool, and wide-string values. Backward-compatible with QSettings-style quoted strings.
Definition at line 14 of file IniFile.h.