#include <KEY2StyleParser.h>
Public Member Functions | |
| KEY2StyleParser (int nameId, int nsId, KEYCollector *collector, const KEYDefaults &defaults, bool nested=false) | |
| void | parse (const KEYXMLReader &reader) |
Private Member Functions | |
| KEY2StyleParser (const KEY2StyleParser &other) | |
| KEY2StyleParser & | operator= (const KEY2StyleParser &other) |
| void | parseProperty (const KEYXMLReader &reader, const char *key=0) |
| bool | parsePropertyImpl (const KEYXMLReader &reader, const int propertyId, const char *key) |
Parse the value of property propertyId. | |
| void | parsePropertyMap (const KEYXMLReader &reader) |
| KEYGeometryPtr_t | readGeometry (const KEYXMLReader &reader) |
Private Attributes | |
| const int | m_nameId |
| const int | m_nsId |
| const bool | m_nested |
| KEYCollector *const | m_collector |
| const KEYDefaults & | m_defaults |
| KEYPropertyMap | m_props |
| libetonyek::KEY2StyleParser::KEY2StyleParser | ( | const KEY2StyleParser & | other | ) | [private] |
| libetonyek::KEY2StyleParser::KEY2StyleParser | ( | int | nameId, |
| int | nsId, | ||
| KEYCollector * | collector, | ||
| const KEYDefaults & | defaults, | ||
| bool | nested = false |
||
| ) |
| KEY2StyleParser& libetonyek::KEY2StyleParser::operator= | ( | const KEY2StyleParser & | other | ) | [private] |
| void libetonyek::KEY2StyleParser::parse | ( | const KEYXMLReader & | reader | ) |
Referenced by parsePropertyImpl(), and libetonyek::KEY2Parser::parseStyles().
| void libetonyek::KEY2StyleParser::parseProperty | ( | const KEYXMLReader & | reader, |
| const char * | key = 0 |
||
| ) | [private] |
Referenced by parsePropertyMap().
| bool libetonyek::KEY2StyleParser::parsePropertyImpl | ( | const KEYXMLReader & | reader, |
| const int | propertyId, | ||
| const char * | key | ||
| ) | [private] |
Parse the value of property propertyId.
IOW, this parses the element nested in the property element.
| [in] | reader | XML reader |
| [in] | propertyId | token ID of the property that is currently being parsed |
| [in] | key | key for insertion into the map |
Referenced by parseProperty().
| void libetonyek::KEY2StyleParser::parsePropertyMap | ( | const KEYXMLReader & | reader | ) | [private] |
Referenced by parse().
| KEYGeometryPtr_t libetonyek::KEY2StyleParser::readGeometry | ( | const KEYXMLReader & | reader | ) | [private] |
Referenced by parsePropertyImpl().
KEYCollector* const libetonyek::KEY2StyleParser::m_collector [private] |
Referenced by parse(), and parsePropertyImpl().
const KEYDefaults& libetonyek::KEY2StyleParser::m_defaults [private] |
Referenced by parsePropertyImpl(), and readGeometry().
const int libetonyek::KEY2StyleParser::m_nameId [private] |
Referenced by parse().
const bool libetonyek::KEY2StyleParser::m_nested [private] |
Referenced by parse().
const int libetonyek::KEY2StyleParser::m_nsId [private] |
Referenced by parse().
Referenced by parse(), and parsePropertyImpl().