#include <preferencedictionary.h>
Data Structures | |
class | PreferenceEntry |
Public Types | |
typedef PreferenceEntries::iterator | iterator |
Public Member Functions | |
iterator | begin () |
iterator | end () |
iterator | find (const std::string &name) |
void | registerPreference (const std::string &name, const StringImportCallback &importer, const StringExportCallback &exporter) |
void | importPref (const std::string &name, const std::string &value) |
Private Types | |
typedef std::map< std::string, PreferenceEntry > | PreferenceEntries |
typedef std::map< std::string, std::string > | PreferenceCache |
Private Attributes | |
PreferenceEntries | m_preferences |
PreferenceCache | m_cache |
Definition at line 32 of file preferencedictionary.h.
typedef PreferenceEntries::iterator PreferenceDictionary::iterator |
Definition at line 60 of file preferencedictionary.h.
typedef std::map<std::string, std::string> PreferenceDictionary::PreferenceCache [private] |
Definition at line 56 of file preferencedictionary.h.
typedef std::map<std::string, PreferenceEntry> PreferenceDictionary::PreferenceEntries [private] |
Definition at line 53 of file preferencedictionary.h.
iterator PreferenceDictionary::begin | ( | ) | [inline] |
Definition at line 62 of file preferencedictionary.h.
References m_preferences.
Referenced by XMLPreferenceDictionaryExporter::exportXML().
iterator PreferenceDictionary::end | ( | ) | [inline] |
Definition at line 66 of file preferencedictionary.h.
References m_preferences.
Referenced by XMLPreferenceDictionaryExporter::exportXML().
iterator PreferenceDictionary::find | ( | const std::string & | name | ) | [inline] |
Definition at line 70 of file preferencedictionary.h.
References m_preferences.
void PreferenceDictionary::importPref | ( | const std::string & | name, | |
const std::string & | value | |||
) | [inline] |
Definition at line 86 of file preferencedictionary.h.
References i, m_cache, and m_preferences.
Referenced by XMLPreferenceDictionaryImporter::popElement().
void PreferenceDictionary::registerPreference | ( | const std::string & | name, | |
const StringImportCallback & | importer, | |||
const StringExportCallback & | exporter | |||
) | [inline, virtual] |
Implements PreferenceSystem.
Definition at line 75 of file preferencedictionary.h.
References i, m_cache, and m_preferences.
PreferenceCache PreferenceDictionary::m_cache [private] |
Definition at line 57 of file preferencedictionary.h.
Referenced by importPref(), and registerPreference().
Definition at line 54 of file preferencedictionary.h.
Referenced by begin(), end(), find(), importPref(), and registerPreference().