MaterialElement class
          #include <private/MaterialElement.h>
        
        
Base classes
- class XMLElement
 - Class representing an XML element.
 
Public types
- struct MaterialInfo
 
Constructors, destructors, conversion operators
- MaterialElement(XMLParserState& parserState, std::shared_ptr<MaterialInfo> materialInfo) explicit
 
Public functions
- auto materialInfo() const -> const std::shared_ptr<MaterialInfo>
 - 
              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<XMLElement> override
 - Factory method to create child element given the name.
 
Function documentation
              std::shared_ptr<XMLElement> iDynTree:: MaterialElement:: 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 |