hpp-manipulation-urdf
4.9.0
Implementation of a parser for hpp-manipulation.
|
#include <hpp/manipulation/srdf/factories/robot.hh>
Public Member Functions | |
RobotFactory (ObjectFactory *parent, const XMLElement *element) | |
bool | finishAttributes () |
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&) More... | |
template<typename T > | |
T * | as () |
Cast this class to any child class. More... | |
virtual bool | init () |
void | setAttribute (const XMLAttribute *attr) |
virtual void | addTextChild (const XMLText *text) |
Add Text child. More... | |
virtual void | finishTags () |
Called when all the child tags have been processed. More... | |
virtual void | finishFile () |
Called when parsing is finished. More... | |
std::string | tagName () const |
std::string | name () const |
bool | hasAttribute (const std::string &attr) const |
Check if an attribute was set. More... | |
std::string | getAttribute (const std::string &attr) const |
Return a given attributes. More... | |
ObjectFactoryList | getChildrenOfType (std::string type) |
Get a list of ObjectFactory whose tag name is type. More... | |
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 |
This class only check if the robot name and the attribute "name" of tag "robot" are the same.
|
inline |
|
virtual |
Reimplemented from hpp::manipulation::parser::ObjectFactory.