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