MUSX Document Model
|
Implementation of IXmlAttribute using rapidxml. More...
#include <RapidXmlImpl.h>
Public Member Functions | |
Attribute (::rapidxml::xml_attribute<> *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. | |
![]() | |
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 rapidxml.
|
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.