hpp-util 7.0.0
Debugging tools for the HPP project.
Loading...
Searching...
No Matches
hpp::util::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  SequenceFactory
 Factory parsing sequence of values. More...

Typedefs

typedef tinyxml2::XMLElement XMLElement
typedef tinyxml2::XMLDocument XMLDocument
typedef tinyxml2::XMLDeclaration XMLDeclaration
typedef tinyxml2::XMLAttribute XMLAttribute
typedef tinyxml2::XMLNode XMLNode
typedef tinyxml2::XMLText XMLText
typedef tinyxml2::XMLComment XMLComment
typedef tinyxml2::XMLPrinter XMLPrinter

Functions

template<typename T>
ObjectFactorycreate (ObjectFactory *parent=NULL, const XMLElement *element=NULL)
std::ostream & operator<< (std::ostream &os, const ObjectFactory &o)
std::ostream & operator<< (std::ostream &os, const Parser &p)

Typedef Documentation

◆ XMLAttribute

typedef tinyxml2::XMLAttribute hpp::util::parser::XMLAttribute

◆ XMLComment

typedef tinyxml2::XMLComment hpp::util::parser::XMLComment

◆ XMLDeclaration

typedef tinyxml2::XMLDeclaration hpp::util::parser::XMLDeclaration

◆ XMLDocument

typedef tinyxml2::XMLDocument hpp::util::parser::XMLDocument

◆ XMLElement

typedef tinyxml2::XMLElement hpp::util::parser::XMLElement

◆ XMLNode

typedef tinyxml2::XMLNode hpp::util::parser::XMLNode

◆ XMLPrinter

typedef tinyxml2::XMLPrinter hpp::util::parser::XMLPrinter

◆ XMLText

typedef tinyxml2::XMLText hpp::util::parser::XMLText

Function Documentation

◆ create()

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>)

◆ operator<<() [1/2]

std::ostream & hpp::util::parser::operator<<(std::ostream &os,
const ObjectFactory &o )

◆ operator<<() [2/2]

std::ostream & hpp::util::parser::operator<<(std::ostream &os,
const Parser &p )