]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/xmlproperty.tex
Lots of selection and focus code.
[wxWidgets.git] / docs / latex / wx / xmlproperty.tex
CommitLineData
4c43dd90
JS
1\section{\class{wxXmlProperty}}\label{wxxmlproperty}
2
3Represents a node property.
4
5Example: in <img src="hello.gif" id="3"/> "src" is property with value
6"hello.gif" and "id" is a property with value "3".
7
8\wxheading{Derived from}
9
10No base class
11
12\wxheading{Include files}
13
14<wx/xml/xml.h>
15
16\wxheading{See also}
17
18\helpref{wxXmlDocument}{wxxmldocument}, \helpref{wxXmlNode}{wxxmlnode}
19
20\latexignore{\rtfignore{\wxheading{Members}}}
21
22
23\membersection{wxXmlProperty::wxXmlProperty}\label{wxxmlpropertywxxmlproperty}
24
25\func{}{wxXmlProperty}{\void}
26
27
28\func{}{wxXmlProperty}{\param{const wxString\& }{name}, \param{const wxString\& }{value}, \param{wxXmlProperty* }{next = NULL}}
29
30Creates the property with given {\it name} and {\it value}.
31If {\it next} is not NULL, then sets it as sibling of this property.
32
33\membersection{wxXmlProperty::\destruct{wxXmlProperty}}\label{wxxmlpropertydtor}
34
35\func{}{\destruct{wxXmlProperty}}{\void}
36
37The virtual destructor.
38
39\membersection{wxXmlProperty::GetName}\label{wxxmlpropertygetname}
40
41\constfunc{wxString}{GetName}{\void}
42
43Returns the name of this property.
44
45\membersection{wxXmlProperty::GetNext}\label{wxxmlpropertygetnext}
46
47\constfunc{wxXmlProperty*}{GetNext}{\void}
48
49Returns the sibling of this property or NULL if there are no siblings.
50
51\membersection{wxXmlProperty::GetValue}\label{wxxmlpropertygetvalue}
52
53\constfunc{wxString}{GetValue}{\void}
54
55Returns the value of this property.
56
57\membersection{wxXmlProperty::SetName}\label{wxxmlpropertysetname}
58
59\func{void}{SetName}{\param{const wxString\& }{name}}
60
61Sets the name of this property.
62
63\membersection{wxXmlProperty::SetNext}\label{wxxmlpropertysetnext}
64
65\func{void}{SetNext}{\param{wxXmlProperty* }{next}}
66
67Sets the sibling of this property.
68
69\membersection{wxXmlProperty::SetValue}\label{wxxmlpropertysetvalue}
70
71\func{void}{SetValue}{\param{const wxString\& }{value}}
72
73Sets the value of this property.
74