1 #ifndef __SIMPLE_SAX_PARSER_H_
2 #define __SIMPLE_SAX_PARSER_H_
79 Attribute(
const std::string &iKey,
const std::string &iValue)
89 return this->
key < attribute.
key;
137 virtual void data(
const std::string &) {}
143 std::string
parseEntity(
const std::string &entity);
152 char buf[2] = {delim, 0};
177 #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)
ParserError(const std::string &error)
tuple maxSize
'/store/data/Commissioning08/BeamHalo/RECO/StuffAlmostToP5_v1/000/061/642/10A0FE34-A67D-DD11-AD05-000...
std::string getToken(const char *delim)
const SimpleSAXParser & operator=(const SimpleSAXParser &)
std::vector< std::string > m_elementTags
bool fgettoken(std::istream &in, char **buffer, size_t *maxSize, const char *separators, int *firstChar)
virtual ~SimpleSAXParser()
Attribute(const Attribute &attr)
virtual void startElement(const std::string &, Attributes &)
T get(const Candidate &c)
SimpleSAXParser(std::istream &f)