hpp-manipulation-urdf  4.9.0
Implementation of a parser for hpp-manipulation.
hpp::manipulation::parser Namespace Reference

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 >
ObjectFactorycreate (ObjectFactory *parent=NULL, const XMLElement *element=NULL)
 
std::ostream & operator<< (std::ostream &, const ObjectFactory &)
 
std::ostream & operator<< (std::ostream &, const Parser &)
 

Typedef Documentation

◆ XMLAttribute

◆ XMLDocument

◆ XMLElement

◆ XMLNode

◆ XMLText

Function Documentation

◆ create()

template<typename T >
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>)

◆ operator<<() [1/2]

std::ostream& hpp::manipulation::parser::operator<< ( std::ostream &  ,
const ObjectFactory  
)

◆ operator<<() [2/2]

std::ostream& hpp::manipulation::parser::operator<< ( std::ostream &  ,
const Parser  
)