Public Member Functions |
| FileBackedPreferences (const string &directory, const string &name, FilePreferenceSaverThread *saver_thread) |
virtual bool | Load () |
virtual bool | Save () const |
bool | LoadFromFile (const string &filename) |
string | Source () const |
| MemoryPreferences (const string name) |
virtual void | Clear () |
virtual void | SetValue (const string &key, const string &value) |
virtual void | SetMultipleValue (const string &key, const string &value) |
virtual bool | SetDefaultValue (const string &key, const Validator &validator, const string &value) |
virtual string | GetValue (const string &key) const |
virtual vector< string > | GetMultipleValue (const string &key) const |
virtual bool | HasKey (const string &key) const |
virtual void | RemoveValue (const string &key) |
virtual bool | GetValueAsBool (const string &key) const |
virtual void | SetValueAsBool (const string &key, bool value) |
bool | operator== (const MemoryPreferences &other) |
| Preferences (const string name) |
Additional Inherited Members |
typedef multimap< string, string > | PreferencesMap |
PreferencesMap | m_pref_map |
The documentation for this class was generated from the following files: