#include <tinyxml.h>
Inheritance diagram for TiXmlAttribute::
Public Methods | |
TiXmlAttribute () | |
Construct an empty attribute. | |
TiXmlAttribute (const std::string &_name, const std::string &_value) | |
Construct an attribute with a name and value. | |
const std::string & | Name () const |
Return the name of this attribute. | |
const std::string & | Value () const |
Return the value of this attribute. | |
void | SetName (const std::string &_name) |
Set the name of this attribute. | |
void | SetValue (const std::string &_value) |
Set the value. | |
TiXmlAttribute * | Next () |
Get the next sibling attribute in the DOM. Returns null at end. | |
TiXmlAttribute * | Previous () |
Get the previous sibling attribute in the DOM. Returns null at beginning. |
Elements have an arbitrary number of attributes, each with a unique name.