|
| iniConfig () |
| Unusable until Open() is called.
|
|
| iniConfig (const tstring &filepath) |
| Calls Open()
|
|
bool | Open (const tstring &filepath) |
| Opens an ini file.
|
|
virtual bool | Remove (const tstring &key) |
| Remove a single value.
|
|
virtual bool | RemoveEntireConfig () |
| Removes all values in the config, but the config can still used afterwards.
|
|
bool | Save () |
| The config is saved in the destructor. This function allows to manually start the saving.
|
|
void | SetCurrentSection (const tstring §ion) |
| Set the section used by Read() and Write() More...
|
|
bool | Read (const tstring &key, tstring &result) const |
| Basic read function.
|
|
template<typename T > |
bool | Read (const tstring &key, T &result) const |
| Extendable version of Read. More...
|
|
void | RestoreWindowPosition (const tstring &key, HWND window) |
| Convenience function for window position.
|
|
void | SaveWindowPosition (const tstring &key, HWND window) |
| Convenience function for window position.
|
|
bool | Write (const tstring &key, const tstring &value) |
| Basic write function.
|
|
template<typename T > |
bool | Write (const tstring &key, const T &value) |
| Extendable version of Write. More...
|
|
Configuration that writes to an ini-file.
The ini file reading/writing is built from scratch because the PrivateProfile functions from Windows don't support UTF-8.