1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxXmlAttribute documentation
4 %% Author: Francesco Montorsi
7 %% Copyright: (c) 2006 Francesco Montorsi
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxXmlAttribute
}}\label{wxxmlattribute
}
13 Represents a node attribute.
15 Example: 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"
}.
18 \wxheading{Derived from
}
22 \wxheading{Include files
}
28 \helpref{wxXml
}{librarieslist
}
32 \helpref{wxXmlDocument
}{wxxmldocument
},
\helpref{wxXmlNode
}{wxxmlnode
}
34 \latexignore{\rtfignore{\wxheading{Members
}}}
37 \membersection{wxXmlAttribute::wxXmlAttribute
}\label{wxxmlattributewxxmlattribute
}
39 \func{}{wxXmlAttribute
}{\void}
42 \func{}{wxXmlAttribute
}{\param{const wxString\&
}{name
},
\param{const wxString\&
}{value
},
\param{wxXmlAttribute*
}{next = NULL
}}
44 Creates the attribute with given
{\it name
} and
{\it value
}.
45 If
{\it next
} is not NULL, then sets it as sibling of this attribute.
47 \membersection{wxXmlAttribute::
\destruct{wxXmlAttribute
}}\label{wxxmlattributedtor
}
49 \func{}{\destruct{wxXmlAttribute
}}{\void}
51 The virtual destructor.
53 \membersection{wxXmlAttribute::GetName
}\label{wxxmlattributegetname
}
55 \constfunc{wxString
}{GetName
}{\void}
57 Returns the name of this attribute.
59 \membersection{wxXmlAttribute::GetNext
}\label{wxxmlattributegetnext
}
61 \constfunc{wxXmlAttribute*
}{GetNext
}{\void}
63 Returns the sibling of this attribute or NULL if there are no siblings.
65 \membersection{wxXmlAttribute::GetValue
}\label{wxxmlattributegetvalue
}
67 \constfunc{wxString
}{GetValue
}{\void}
69 Returns the value of this attribute.
71 \membersection{wxXmlAttribute::SetName
}\label{wxxmlattributesetname
}
73 \func{void
}{SetName
}{\param{const wxString\&
}{name
}}
75 Sets the name of this attribute.
77 \membersection{wxXmlAttribute::SetNext
}\label{wxxmlattributesetnext
}
79 \func{void
}{SetNext
}{\param{wxXmlAttribute*
}{next
}}
81 Sets the sibling of this attribute.
83 \membersection{wxXmlAttribute::SetValue
}\label{wxxmlattributesetvalue
}
85 \func{void
}{SetValue
}{\param{const wxString\&
}{value
}}
87 Sets the value of this attribute.