]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/xmlproperty.tex
changed the version and the date
[wxWidgets.git] / docs / latex / wx / xmlproperty.tex
1 \section{\class{wxXmlProperty}}\label{wxxmlproperty}
2
3 Represents a node property.
4
5 Example: 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
10 No 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
30 Creates the property with given {\it name} and {\it value}.
31 If {\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
37 The virtual destructor.
38
39 \membersection{wxXmlProperty::GetName}\label{wxxmlpropertygetname}
40
41 \constfunc{wxString}{GetName}{\void}
42
43 Returns the name of this property.
44
45 \membersection{wxXmlProperty::GetNext}\label{wxxmlpropertygetnext}
46
47 \constfunc{wxXmlProperty*}{GetNext}{\void}
48
49 Returns 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
55 Returns the value of this property.
56
57 \membersection{wxXmlProperty::SetName}\label{wxxmlpropertysetname}
58
59 \func{void}{SetName}{\param{const wxString\& }{name}}
60
61 Sets the name of this property.
62
63 \membersection{wxXmlProperty::SetNext}\label{wxxmlpropertysetnext}
64
65 \func{void}{SetNext}{\param{wxXmlProperty* }{next}}
66
67 Sets the sibling of this property.
68
69 \membersection{wxXmlProperty::SetValue}\label{wxxmlpropertysetvalue}
70
71 \func{void}{SetValue}{\param{const wxString\& }{value}}
72
73 Sets the value of this property.
74