Go to the documentation of this file. 1 #ifndef __SIMPLE_SAX_PARSER_H_
2 #define __SIMPLE_SAX_PARSER_H_
132 char buf[2] = {delim, 0};
156 #endif // __SIMPLE_SAX_PARSER_H_
std::string getToken(const char *delim)
virtual void startElement(const std::string &, Attributes &)
virtual void data(const std::string &)
virtual void endElement(const std::string &)
bool fgettoken(std::istream &in, char **buffer, size_t *maxSize, const char *separators, int *firstChar)
SimpleSAXParser(std::istream &f)
std::vector< std::string > m_elementTags
std::string parseEntity(const std::string &entity)
std::string getToken(const char delim)
Attribute(const std::string &iKey, const std::string &iValue)
bool operator<(const Attribute &attribute) const
virtual ~SimpleSAXParser()
Attribute(const Attribute &attr)
std::vector< Attribute > Attributes
ParserError(const std::string &error)
const SimpleSAXParser & operator=(const SimpleSAXParser &)=delete