]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/xmlattr.tex
document LoadObject() (patch 1873045)
[wxWidgets.git] / docs / latex / wx / xmlattr.tex
CommitLineData
434cf5a4 1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f5ca194a 2%% Name: xmlattr.tex
288b6107 3%% Purpose: wxXmlAttribute documentation
434cf5a4
RR
4%% Author: Francesco Montorsi
5%% Created: 2006-04-18
6%% RCS-ID: $Id$
7%% Copyright: (c) 2006 Francesco Montorsi
8%% License: wxWindows license
9%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
10
288b6107 11\section{\class{wxXmlAttribute}}\label{wxxmlattribute}
4c43dd90 12
b8fd3d7c 13Represents a node attribute.
4c43dd90 14
b8fd3d7c
RR
15Example: in {\tt <img src="hello.gif" id="3"/>}, {\tt ``src"} is attribute with value
16{\tt ``hello.gif"} and {\tt ``id"} is a attribute with value {\tt ``3"}.
4c43dd90
JS
17
18\wxheading{Derived from}
19
20No base class
21
22\wxheading{Include files}
23
24<wx/xml/xml.h>
25
a7af285d
VZ
26\wxheading{Library}
27
28\helpref{wxXml}{librarieslist}
29
4c43dd90
JS
30\wxheading{See also}
31
32\helpref{wxXmlDocument}{wxxmldocument}, \helpref{wxXmlNode}{wxxmlnode}
33
34\latexignore{\rtfignore{\wxheading{Members}}}
35
36
288b6107 37\membersection{wxXmlAttribute::wxXmlAttribute}\label{wxxmlattributewxxmlattribute}
4c43dd90 38
288b6107 39\func{}{wxXmlAttribute}{\void}
4c43dd90
JS
40
41
288b6107 42\func{}{wxXmlAttribute}{\param{const wxString\& }{name}, \param{const wxString\& }{value}, \param{wxXmlAttribute* }{next = NULL}}
4c43dd90 43
b8fd3d7c
RR
44Creates the attribute with given {\it name} and {\it value}.
45If {\it next} is not NULL, then sets it as sibling of this attribute.
4c43dd90 46
288b6107 47\membersection{wxXmlAttribute::\destruct{wxXmlAttribute}}\label{wxxmlattributedtor}
4c43dd90 48
288b6107 49\func{}{\destruct{wxXmlAttribute}}{\void}
4c43dd90
JS
50
51The virtual destructor.
52
288b6107 53\membersection{wxXmlAttribute::GetName}\label{wxxmlattributegetname}
4c43dd90
JS
54
55\constfunc{wxString}{GetName}{\void}
56
b8fd3d7c 57Returns the name of this attribute.
4c43dd90 58
288b6107 59\membersection{wxXmlAttribute::GetNext}\label{wxxmlattributegetnext}
4c43dd90 60
288b6107 61\constfunc{wxXmlAttribute*}{GetNext}{\void}
4c43dd90 62
b8fd3d7c 63Returns the sibling of this attribute or NULL if there are no siblings.
4c43dd90 64
288b6107 65\membersection{wxXmlAttribute::GetValue}\label{wxxmlattributegetvalue}
4c43dd90
JS
66
67\constfunc{wxString}{GetValue}{\void}
68
b8fd3d7c 69Returns the value of this attribute.
4c43dd90 70
288b6107 71\membersection{wxXmlAttribute::SetName}\label{wxxmlattributesetname}
4c43dd90
JS
72
73\func{void}{SetName}{\param{const wxString\& }{name}}
74
b8fd3d7c 75Sets the name of this attribute.
4c43dd90 76
288b6107 77\membersection{wxXmlAttribute::SetNext}\label{wxxmlattributesetnext}
4c43dd90 78
288b6107 79\func{void}{SetNext}{\param{wxXmlAttribute* }{next}}
4c43dd90 80
b8fd3d7c 81Sets the sibling of this attribute.
4c43dd90 82
288b6107 83\membersection{wxXmlAttribute::SetValue}\label{wxxmlattributesetvalue}
4c43dd90
JS
84
85\func{void}{SetValue}{\param{const wxString\& }{value}}
86
b8fd3d7c 87Sets the value of this attribute.
4c43dd90 88