iDynTree::VisualElement class

Base classes

class XMLElement
Class representing an XML element.

Public types

struct VisualInfo

Constructors, destructors, conversion operators

VisualElement(XMLParserState& parserState, const std::string& name, const std::vector<std::string>& packageDirs) explicit

Public functions

auto visualInfo() const -> const VisualInfo&
auto setAttributes(const std::unordered_map<std::string, std::shared_ptr<iDynTree::XMLAttribute>>& attributes) -> bool 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::VisualElement::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