Contents Up Previous Next

wxXmlProperty

Represents a node property.

Example: in <img src="hello.gif" id="3"/>, "src" is property with value "hello.gif" and "id" is a property with value "3".

Derived from

No base class

Include files

<wx/xml/xml.h>

See also

wxXmlDocument, wxXmlNode

Members

wxXmlProperty::wxXmlProperty
wxXmlProperty::~wxXmlProperty
wxXmlProperty::GetName
wxXmlProperty::GetNext
wxXmlProperty::GetValue
wxXmlProperty::SetName
wxXmlProperty::SetNext
wxXmlProperty::SetValue


wxXmlProperty::wxXmlProperty

wxXmlProperty()

wxXmlProperty(const wxString& name, const wxString& value, wxXmlProperty* next = NULL)

Creates the property with given name and value. If next is not NULL, then sets it as sibling of this property.


wxXmlProperty::~wxXmlProperty

~wxXmlProperty()

The virtual destructor.


wxXmlProperty::GetName

wxString GetName() const

Returns the name of this property.


wxXmlProperty::GetNext

wxXmlProperty* GetNext() const

Returns the sibling of this property or NULL if there are no siblings.


wxXmlProperty::GetValue

wxString GetValue() const

Returns the value of this property.


wxXmlProperty::SetName

void SetName(const wxString& name)

Sets the name of this property.


wxXmlProperty::SetNext

void SetNext(wxXmlProperty* next)

Sets the sibling of this property.


wxXmlProperty::SetValue

void SetValue(const wxString& value)

Sets the value of this property.