iDynTree::JointElement class

Base classes

class XMLElement
Class representing an XML element.

Public types

struct JointInfo

Constructors, destructors, conversion operators

JointElement(XMLParserState& parserState, std::unordered_map<std::string, JointElement::JointInfo>& joints, std::unordered_map<std::string, JointElement::JointInfo>& fixedJoints) explicit

Public functions

auto setAttributes(const std::unordered_map<std::string, std::shared_ptr<XMLAttribute>>& attributes) -> bool override
auto childElementForName(const std::string& name) -> std::shared_ptr<XMLElement> override
Factory method to create child element given the name.
void exitElementScope() override

Function documentation

std::shared_ptr<XMLElement> iDynTree::JointElement::childElementForName(const std::string& name) override

Factory method to create child element given the name.

Parameters
name name of the element to create
Returns a new parser element for the corresponding tag