#include </home/Hamis/wxwidgets/wxWidgets3.0/wxWidgets3.0-3.0.5.1-2.x86_64/src/wxWidgets-3.0.5.1/interface/wx/xml/xml.h>
Represents a node attribute.
Example: in <img src="hello.gif" id="3"/>, src is an attribute with value hello.gif and id is an attribute with value 3.
<>< =''>:</>&;&;< =''>\ </></>
Public Member Functions | |
| wxXmlAttribute () | |
| Default constructor. More... | |
| wxXmlAttribute (const wxString &name, const wxString &value, wxXmlAttribute *next=NULL) | |
| Creates the attribute with given name and value. More... | |
| virtual | ~wxXmlAttribute () |
| The virtual destructor. More... | |
| wxString | GetName () const |
| Returns the name of this attribute. More... | |
| wxXmlAttribute * | GetNext () const |
| Returns the sibling of this attribute or NULL if there are no siblings. More... | |
| wxString | GetValue () const |
| Returns the value of this attribute. More... | |
| void | SetName (const wxString &name) |
| Sets the name of this attribute. More... | |
| void | SetNext (wxXmlAttribute *next) |
| Sets the sibling of this attribute. More... | |
| void | SetValue (const wxString &value) |
| Sets the value of this attribute. More... | |
| wxXmlAttribute::wxXmlAttribute | ( | ) |
Default constructor.
| wxXmlAttribute::wxXmlAttribute | ( | const wxString & | name, |
| const wxString & | value, | ||
| wxXmlAttribute * | next = NULL |
||
| ) |
Creates the attribute with given name and value.
If next is not NULL, then sets it as sibling of this attribute.
|
virtual |
The virtual destructor.
| wxString wxXmlAttribute::GetName | ( | ) | const |
Returns the name of this attribute.
| wxXmlAttribute* wxXmlAttribute::GetNext | ( | ) | const |
Returns the sibling of this attribute or NULL if there are no siblings.
| wxString wxXmlAttribute::GetValue | ( | ) | const |
Returns the value of this attribute.
| void wxXmlAttribute::SetName | ( | const wxString & | name | ) |
Sets the name of this attribute.
| void wxXmlAttribute::SetNext | ( | wxXmlAttribute * | next | ) |
Sets the sibling of this attribute.
| void wxXmlAttribute::SetValue | ( | const wxString & | value | ) |
Sets the value of this attribute.