40 #ifndef XML_DOM_PARSER_HPP 41 #define XML_DOM_PARSER_HPP 79 XMLDomParser(
const std::string& name,
const std::string& string_to_be_parsed);
94 operator bool()
const;
const std::string to_be_parsed
The string to be parsed or the name for the file to be parsed.
REF_FORWARD_DECL(xml_dom_parser)
const std::string name
The name of the parsed file or of the string.
utility function used to read files.
void Exec()
Parse an XML document from a file.
Template definition of refcount.
XMLDomParser(const std::string &name, const std::string &string_to_be_parsed)
Constructor from string.
xml_documentRef doc
The data structure extracted from the file.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
xml_documentRef get_document()
Obtain the parsed document.