hpp-manipulation-urdf
4.9.0
Implementation of a parser for hpp-manipulation.
|
Classes | |
class | IgnoreTagFactory |
class | ObjectFactory |
Class that catch XML Parser events for a specific tag and build the corresponding Object. More... | |
class | Parser |
Parse an XML document. More... | |
class | RootFactory |
Represent a XML document. More... | |
class | SequenceFactory |
Factory parsing sequence of values. More... | |
Typedefs | |
typedef TiXmlElement | XMLElement |
typedef TiXmlDocument | XMLDocument |
typedef TiXmlAttribute | XMLAttribute |
typedef TiXmlNode | XMLNode |
typedef TiXmlText | XMLText |
Functions | |
template<typename Container > | |
void | readSequence (const std::string &str, Container &out, int size=-1) |
template<typename T > | |
ObjectFactory * | create (ObjectFactory *parent=NULL, const XMLElement *element=NULL) |
std::ostream & | operator<< (std::ostream &, const ObjectFactory &) |
std::ostream & | operator<< (std::ostream &, const Parser &) |
typedef TiXmlAttribute hpp::manipulation::parser::XMLAttribute |
typedef TiXmlDocument hpp::manipulation::parser::XMLDocument |
typedef TiXmlElement hpp::manipulation::parser::XMLElement |
typedef TiXmlNode hpp::manipulation::parser::XMLNode |
typedef TiXmlText hpp::manipulation::parser::XMLText |
ObjectFactory* hpp::manipulation::parser::create | ( | ObjectFactory * | parent = NULL , |
const XMLElement * | element = NULL |
||
) |
To add a ObjectFactory to the Parser, use: Parser::addObjectFactory (TagName, create <ObjectFactory>)
std::ostream& hpp::manipulation::parser::operator<< | ( | std::ostream & | , |
const ObjectFactory & | |||
) |
std::ostream& hpp::manipulation::parser::operator<< | ( | std::ostream & | , |
const Parser & | |||
) |