|
MUSX Document Model
|
Implementation of IXmlAttribute using tinyxml2. More...
#include <TinyXmlImpl.h>
Inheritance diagram for musx::xml::tinyxml2::Attribute:Public Member Functions | |
| Attribute (const ::tinyxml2::XMLAttribute *attr) | |
| Constructor. | |
| std::string | getName () const override |
| Gets the name of the attribute. | |
| std::string | getValue () const override |
| Gets the value of the attribute. | |
| std::shared_ptr< IXmlAttribute > | nextAttribute () const override |
| Advances to the next attribute. | |
Public Member Functions inherited from musx::xml::IXmlAttribute | |
| std::string | getValueTrimmed () const |
| Gets the text content of the attribute with whitespace trimmed. | |
| template<typename T > | |
| T | getValueAs () const |
| Gets the value of the attribute, converted to the specified type. | |
Implementation of IXmlAttribute using tinyxml2.
|
inlineoverridevirtual |
Gets the name of the attribute.
Implements musx::xml::IXmlAttribute.
|
inlineoverridevirtual |
Gets the value of the attribute.
Implements musx::xml::IXmlAttribute.
|
inlineoverridevirtual |
Advances to the next attribute.
Implements musx::xml::IXmlAttribute.