hpp::util::parser Namespace Reference

Classes

class  IgnoreTagFactory
 Class used to ignore a tag. More...
class  SequenceFactory
 Factory parsing sequence of values. More...
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...

Typedefs

typedef TiXmlElement XMLElement
typedef TiXmlDocument XMLDocument
typedef TiXmlDeclaration XMLDeclaration
typedef TiXmlAttribute XMLAttribute
typedef TiXmlNode XMLNode
typedef TiXmlText XMLText
typedef TiXmlComment XMLComment
typedef TiXmlPrinter XMLPrinter

Functions

template<typename T >
ObjectFactorycreate (ObjectFactory *parent=NULL, const XMLElement *element=NULL)
 To add a ObjectFactory to the Parser, use: Parser::addObjectFactory (TagName, create <ObjectFactory>)
std::ostream & operator<< (std::ostream &, const ObjectFactory &)
std::ostream & operator<< (std::ostream &, const Parser &)

Typedef Documentation

typedef TiXmlAttribute hpp::util::parser::XMLAttribute
typedef TiXmlComment hpp::util::parser::XMLComment
typedef TiXmlDeclaration hpp::util::parser::XMLDeclaration
typedef TiXmlDocument hpp::util::parser::XMLDocument
typedef TiXmlElement hpp::util::parser::XMLElement
typedef TiXmlNode hpp::util::parser::XMLNode
typedef TiXmlPrinter hpp::util::parser::XMLPrinter
typedef TiXmlText hpp::util::parser::XMLText

Function Documentation

template<typename T >
ObjectFactory* hpp::util::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::util::parser::operator<< ( std::ostream &  os,
const ObjectFactory &  o 
)
std::ostream & hpp::util::parser::operator<< ( std::ostream &  os,
const Parser &  p 
)