Parse an XML document.
More...
#include <hpp/util/parser.hh>
Parse an XML document.
This class uses the tinyXML library and derived classes of ObjectFactory to build object from an XML document. To extend its capabilities, see ObjectFactory.
◆ FactoryType
◆ Parser()
Constructor
- Parameters
| defaultFactory | The factory used when a tag is not known. |
◆ ~Parser()
| hpp::util::parser::Parser::~Parser | ( | | ) | |
| virtual |
◆ addObjectFactory()
| void hpp::util::parser::Parser::addObjectFactory | ( | const std::string & | tagname, |
| | FactoryType | factory ) |
◆ parse()
| void hpp::util::parser::Parser::parse | ( | const char * | xmlString | ) | |
| virtual |
◆ parseFile()
| void hpp::util::parser::Parser::parseFile | ( | const std::string & | filename | ) | |
| virtual |
◆ root()
◆ operator<<
| std::ostream & operator<< | ( | std::ostream & | os, | | | const Parser & | p ) |
| friend |
The documentation for this class was generated from the following files: