hpp-manipulation-urdf: hpp::manipulation::parser::IgnoreTagFactory Class Reference

hpp-manipulation-urdf 9.0.2 Implementation of a parser for hpp-manipulation.

Loading...
Searching...
No Matches
Public Member Functions | List of all members
hpp::manipulation::parser::IgnoreTagFactory Class Reference
Factories

`#include <hpp/manipulation/parser/factories/ignoretag.hh>`

Inheritance diagram for hpp::manipulation::parser::IgnoreTagFactory:
[legend]
Collaboration diagram for hpp::manipulation::parser::IgnoreTagFactory:
[legend]

## Public Member Functions
| IgnoreTagFactory (ObjectFactory *parent, const XMLElement *element)
bool | init ()
Public Member Functions inherited from hpp::manipulation::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.
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::manipulation::parser::ObjectFactory
typedef std::vector< ObjectFactory * > | ObjectFactoryList
Protected Member Functions inherited from hpp::manipulation::parser::ObjectFactory
| ObjectFactory (RootFactory *root)
ObjectFactory * | parent ()
RootFactory * | 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

## Detailed Description

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.

## Constructor & Destructor Documentation

## ◆ IgnoreTagFactory()

hpp::manipulation::parser::IgnoreTagFactory::IgnoreTagFactory | ( | ObjectFactory * | parent,
|  | const XMLElement * | element )
| inline

## Member Function Documentation

## ◆ init()

bool hpp::manipulation::parser::IgnoreTagFactory::init | ( |  | ) |
| inline virtual

Called when the object is created.

Returns
  True to continue parsing this tag, False otherwise.

Reimplemented from hpp::manipulation::parser::ObjectFactory.

The documentation for this class was generated from the following file:

- include/hpp/manipulation/parser/factories/ignoretag.hh