#include <preferencedictionary.h>
Data Structures | |
struct | xml_state_t |
Public Member Functions | |
XMLPreferenceDictionaryImporter (PreferenceDictionary &preferences, const std::string &version) | |
void | pushElement (const XMLElement &element) |
void | popElement (const std::string &name) |
std::size_t | write (const char *buffer, std::size_t length) |
Private Types | |
typedef std::vector< xml_state_t > | xml_stack_t |
typedef PreferenceDictionary | PreferenceEntries |
Private Attributes | |
xml_stack_t | m_xml_stack |
PreferenceEntries & | m_preferences |
Version | m_version |
Definition at line 187 of file preferencedictionary.h.
typedef PreferenceDictionary XMLPreferenceDictionaryImporter::PreferenceEntries [private] |
Definition at line 209 of file preferencedictionary.h.
typedef std::vector<xml_state_t> XMLPreferenceDictionaryImporter::xml_stack_t [private] |
Definition at line 206 of file preferencedictionary.h.
XMLPreferenceDictionaryImporter::XMLPreferenceDictionaryImporter | ( | PreferenceDictionary & | preferences, | |
const std::string & | version | |||
) | [inline] |
Definition at line 213 of file preferencedictionary.h.
void XMLPreferenceDictionaryImporter::popElement | ( | const std::string & | name | ) | [inline, virtual] |
Implements XMLImporter.
Definition at line 258 of file preferencedictionary.h.
References PreferenceDictionary::importPref(), m_preferences, m_xml_stack, and XMLPreferenceDictionaryImporter::xml_state_t::tag_epair.
void XMLPreferenceDictionaryImporter::pushElement | ( | const XMLElement & | element | ) | [inline, virtual] |
Implements XMLImporter.
Definition at line 218 of file preferencedictionary.h.
References XMLElement::attribute(), m_version, m_xml_stack, Version::major, Version::minor, XMLElement::name(), XMLPreferenceDictionaryImporter::xml_state_t::tag_epair, XMLPreferenceDictionaryImporter::xml_state_t::tag_epair_ignore, XMLPreferenceDictionaryImporter::xml_state_t::tag_qpref, XMLPreferenceDictionaryImporter::xml_state_t::tag_qpref_ignore, version_compatible(), and version_parse().
std::size_t XMLPreferenceDictionaryImporter::write | ( | const char * | buffer, | |
std::size_t | length | |||
) | [inline] |
Definition at line 265 of file preferencedictionary.h.
References m_xml_stack.
Definition at line 210 of file preferencedictionary.h.
Referenced by popElement().
Definition at line 211 of file preferencedictionary.h.
Referenced by pushElement().
Definition at line 207 of file preferencedictionary.h.
Referenced by popElement(), pushElement(), and write().