iDynTree::LinkElement class

Base classes

class XMLElement
Class representing an XML element.

Constructors, destructors, conversion operators

LinkElement(XMLParserState& parserState, iDynTree::Model& model) explicit

Public functions

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

Function documentation

std::shared_ptr<iDynTree::XMLElement> iDynTree::LinkElement::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