PreferenceDictionary Class Reference

#include <preferencedictionary.h>

Inheritance diagram for PreferenceDictionary:
Inheritance graph
[legend]
Collaboration diagram for PreferenceDictionary:
Collaboration graph
[legend]

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

Detailed Description

Definition at line 32 of file preferencedictionary.h.


Member Typedef Documentation

typedef PreferenceEntries::iterator PreferenceDictionary::iterator

Definition at line 60 of file preferencedictionary.h.

Definition at line 56 of file preferencedictionary.h.

Definition at line 53 of file preferencedictionary.h.


Member Function Documentation

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.


Field Documentation

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().


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

Generated by  doxygen 1.6.2