#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 char *key) |
void | parsePropertyMap (const KEYXMLReader &reader) |
KEYGeometryPtr_t | readGeometry (const KEYXMLReader &reader) |
![]() | |
virtual | ~KEY2ParserUtils () |
KEY2ParserUtils () | |
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 |
Additional Inherited Members | |
![]() | |
static boost::optional< ID_t > | readID (const KEYXMLReader &reader) |
Read sfa:ID attribute of an element. More... | |
static ID_t | readRef (const KEYXMLReader &reader) |
Read a reference element. More... | |
static std::pair < boost::optional< double > , boost::optional< double > > | readPoint (const KEYXMLReader &reader) |
Read sf:point element. More... | |
static KEYPosition | readPosition (const KEYXMLReader &reader) |
Read sf:position element. More... | |
static KEYSize | readSize (const KEYXMLReader &reader) |
Read sf:size element. More... | |
static bool | bool_cast (const char *value) |
Convert string value to bool. More... | |
static double | deg2rad (double value) |
|
private |
libetonyek::KEY2StyleParser::KEY2StyleParser | ( | int | nameId, |
int | nsId, | ||
KEYCollector * | collector, | ||
const KEYDefaults & | defaults, | ||
bool | nested = false |
||
) |
|
private |
void libetonyek::KEY2StyleParser::parse | ( | const KEYXMLReader & | reader | ) |
Referenced by parsePropertyImpl(), and libetonyek::KEY2Parser::parseStyles().
|
private |
Referenced by parsePropertyMap().
|
private |
Referenced by parseProperty().
|
private |
Referenced by parse().
|
private |
Referenced by parsePropertyImpl().
|
private |
Referenced by parse(), and parsePropertyImpl().
|
private |
Referenced by parsePropertyImpl(), and readGeometry().
|
private |
Referenced by parse().
|
private |
Referenced by parse().
|
private |
Referenced by parse().
|
private |
Referenced by parse(), and parsePropertyImpl().