More efficient access to name and value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -69,8 +69,8 @@ public:
|
|||||||
: m_name(name), m_value(value), m_next(next) {}
|
: m_name(name), m_value(value), m_next(next) {}
|
||||||
virtual ~wxXmlAttribute() {}
|
virtual ~wxXmlAttribute() {}
|
||||||
|
|
||||||
wxString GetName() const { return m_name; }
|
const wxString& GetName() const { return m_name; }
|
||||||
wxString GetValue() const { return m_value; }
|
const wxString& GetValue() const { return m_value; }
|
||||||
wxXmlAttribute *GetNext() const { return m_next; }
|
wxXmlAttribute *GetNext() const { return m_next; }
|
||||||
|
|
||||||
void SetName(const wxString& name) { m_name = name; }
|
void SetName(const wxString& name) { m_name = name; }
|
||||||
|
Reference in New Issue
Block a user