1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxXmlProperty documentation
4 %% Author: Francesco Montorsi
7 %% Copyright: (c) 2006 Francesco Montorsi
8 %% License: wxWindows license
9 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11 \section{\class{wxXmlProperty
}}\label{wxxmlproperty
}
13 Represents a node property.
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"
}.
18 \wxheading{Derived from
}
22 \wxheading{Include files
}
28 \helpref{wxXmlDocument
}{wxxmldocument
},
\helpref{wxXmlNode
}{wxxmlnode
}
30 \latexignore{\rtfignore{\wxheading{Members
}}}
33 \membersection{wxXmlProperty::wxXmlProperty
}\label{wxxmlpropertywxxmlproperty
}
35 \func{}{wxXmlProperty
}{\void}
38 \func{}{wxXmlProperty
}{\param{const wxString\&
}{name
},
\param{const wxString\&
}{value
},
\param{wxXmlProperty*
}{next = NULL
}}
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.
43 \membersection{wxXmlProperty::
\destruct{wxXmlProperty
}}\label{wxxmlpropertydtor
}
45 \func{}{\destruct{wxXmlProperty
}}{\void}
47 The virtual destructor.
49 \membersection{wxXmlProperty::GetName
}\label{wxxmlpropertygetname
}
51 \constfunc{wxString
}{GetName
}{\void}
53 Returns the name of this property.
55 \membersection{wxXmlProperty::GetNext
}\label{wxxmlpropertygetnext
}
57 \constfunc{wxXmlProperty*
}{GetNext
}{\void}
59 Returns the sibling of this property or NULL if there are no siblings.
61 \membersection{wxXmlProperty::GetValue
}\label{wxxmlpropertygetvalue
}
63 \constfunc{wxString
}{GetValue
}{\void}
65 Returns the value of this property.
67 \membersection{wxXmlProperty::SetName
}\label{wxxmlpropertysetname
}
69 \func{void
}{SetName
}{\param{const wxString\&
}{name
}}
71 Sets the name of this property.
73 \membersection{wxXmlProperty::SetNext
}\label{wxxmlpropertysetnext
}
75 \func{void
}{SetNext
}{\param{wxXmlProperty*
}{next
}}
77 Sets the sibling of this property.
79 \membersection{wxXmlProperty::SetValue
}\label{wxxmlpropertysetvalue
}
81 \func{void
}{SetValue
}{\param{const wxString\&
}{value
}}
83 Sets the value of this property.