Open Lighting Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
ola::MemoryPreferences Class Reference
Inheritance diagram for ola::MemoryPreferences:
ola::Preferences ola::FileBackedPreferences

Public Member Functions

 MemoryPreferences (const string name)
virtual bool Load ()
virtual bool Save () const
virtual void Clear ()
virtual string Source () const
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)
- Public Member Functions inherited from ola::Preferences
 Preferences (const string name)

Protected Types

typedef multimap< string, string > PreferencesMap

Protected Attributes

PreferencesMap m_pref_map
- Protected Attributes inherited from ola::Preferences
string m_preference_name

The documentation for this class was generated from the following files: