|
hpp-util 6.0.0
Debugging tools for the HPP project.
|
#include <hpp/util/factories/ignoretag.hh>


Public Member Functions | |
| IgnoreTagFactory (ObjectFactory *parent, const XMLElement *element) | |
| bool | init () |
| void | impl_write (XMLElement *element) const |
Public Member Functions inherited from hpp::util::parser::ObjectFactory | |
| ObjectFactory (ObjectFactory *parent=NULL, const XMLElement *element=NULL) | |
| virtual | ~ObjectFactory () |
| void | name (const std::string &n) |
| void | name (const char *n) |
| See name(const std::string&) | |
| template<typename T > | |
| T * | as () |
| Cast this class to any child class. | |
| void | setAttribute (const XMLAttribute *attr) |
| virtual void | addTextChild (const XMLText *text) |
| Add Text child. | |
| virtual bool | finishAttributes () |
| virtual void | finishTags () |
| Called when all the child tags have been processed. | |
| virtual void | finishFile () |
| Called when parsing is finished. | |
| ObjectFactory (const std::string &tagName, ObjectFactory *parent=NULL) | |
| Constructor for writing objects from scratch. | |
| void | addAttribute (const std::string &name, const std::string &value) |
| Add an attribute. | |
| XMLNode * | write (XMLNode *node) const |
| Get a new XMLElement from the content of this factory. | |
| std::string | tagName () const |
| std::string | name () const |
| bool | hasAttribute (const std::string &attr) const |
| Check if an attribute was set. | |
| std::string | getAttribute (const std::string &attr) const |
| Return a given attributes. | |
| ObjectFactoryList | getChildrenOfType (std::string type) |
| Get a list of ObjectFactory whose tag name is type. | |
| bool | getChildOfType (std::string type, ObjectFactory *&o) |
Additional Inherited Members | |
Public Types inherited from hpp::util::parser::ObjectFactory | |
| typedef std::list< ObjectFactory * > | ObjectFactoryList |
Protected Member Functions inherited from hpp::util::parser::ObjectFactory | |
| ObjectFactory (ObjectFactory *root) | |
| ObjectFactory * | parent () |
| virtual ObjectFactory * | root () |
| bool | hasParent () const |
| const XMLElement * | XMLelement () |
| virtual void | impl_setAttribute (const XMLAttribute *attr) |
| void | addChild (ObjectFactory *child) |
| virtual std::ostream & | print (std::ostream &os) const |
Class used to ignore a tag. If the parser knows it should ignore a tag, no warning will be printed in the logs. Moreover, its children won't be parsed.
|
inline |
|
inlinevirtual |
Reimplemented from hpp::util::parser::ObjectFactory.
|
inlinevirtual |
Called when the object is created.
Reimplemented from hpp::util::parser::ObjectFactory.