]>
Commit | Line | Data |
---|---|---|
434cf5a4 RR |
1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2 | %% Name: xmlnode.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 JS |
12 | |
13 | Represents a node property. | |
14 | ||
434cf5a4 RR |
15 | Example: in {\tt <img src="hello.gif" id="3"/>}, {\tt ``src"} is property with value |
16 | {\tt ``hello.gif"} and {\tt ``id"} is a property with value {\tt ``3"}. | |
4c43dd90 JS |
17 | |
18 | \wxheading{Derived from} | |
19 | ||
20 | No base class | |
21 | ||
22 | \wxheading{Include files} | |
23 | ||
24 | <wx/xml/xml.h> | |
25 | ||
26 | \wxheading{See also} | |
27 | ||
28 | \helpref{wxXmlDocument}{wxxmldocument}, \helpref{wxXmlNode}{wxxmlnode} | |
29 | ||
30 | \latexignore{\rtfignore{\wxheading{Members}}} | |
31 | ||
32 | ||
288b6107 | 33 | \membersection{wxXmlAttribute::wxXmlAttribute}\label{wxxmlattributewxxmlattribute} |
4c43dd90 | 34 | |
288b6107 | 35 | \func{}{wxXmlAttribute}{\void} |
4c43dd90 JS |
36 | |
37 | ||
288b6107 | 38 | \func{}{wxXmlAttribute}{\param{const wxString\& }{name}, \param{const wxString\& }{value}, \param{wxXmlAttribute* }{next = NULL}} |
4c43dd90 JS |
39 | |
40 | Creates the property with given {\it name} and {\it value}. | |
41 | If {\it next} is not NULL, then sets it as sibling of this property. | |
42 | ||
288b6107 | 43 | \membersection{wxXmlAttribute::\destruct{wxXmlAttribute}}\label{wxxmlattributedtor} |
4c43dd90 | 44 | |
288b6107 | 45 | \func{}{\destruct{wxXmlAttribute}}{\void} |
4c43dd90 JS |
46 | |
47 | The virtual destructor. | |
48 | ||
288b6107 | 49 | \membersection{wxXmlAttribute::GetName}\label{wxxmlattributegetname} |
4c43dd90 JS |
50 | |
51 | \constfunc{wxString}{GetName}{\void} | |
52 | ||
53 | Returns the name of this property. | |
54 | ||
288b6107 | 55 | \membersection{wxXmlAttribute::GetNext}\label{wxxmlattributegetnext} |
4c43dd90 | 56 | |
288b6107 | 57 | \constfunc{wxXmlAttribute*}{GetNext}{\void} |
4c43dd90 JS |
58 | |
59 | Returns the sibling of this property or NULL if there are no siblings. | |
60 | ||
288b6107 | 61 | \membersection{wxXmlAttribute::GetValue}\label{wxxmlattributegetvalue} |
4c43dd90 JS |
62 | |
63 | \constfunc{wxString}{GetValue}{\void} | |
64 | ||
65 | Returns the value of this property. | |
66 | ||
288b6107 | 67 | \membersection{wxXmlAttribute::SetName}\label{wxxmlattributesetname} |
4c43dd90 JS |
68 | |
69 | \func{void}{SetName}{\param{const wxString\& }{name}} | |
70 | ||
71 | Sets the name of this property. | |
72 | ||
288b6107 | 73 | \membersection{wxXmlAttribute::SetNext}\label{wxxmlattributesetnext} |
4c43dd90 | 74 | |
288b6107 | 75 | \func{void}{SetNext}{\param{wxXmlAttribute* }{next}} |
4c43dd90 JS |
76 | |
77 | Sets the sibling of this property. | |
78 | ||
288b6107 | 79 | \membersection{wxXmlAttribute::SetValue}\label{wxxmlattributesetvalue} |
4c43dd90 JS |
80 | |
81 | \func{void}{SetValue}{\param{const wxString\& }{value}} | |
82 | ||
83 | Sets the value of this property. | |
84 |