77c5eefb1f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
48 lines
1.1 KiB
TeX
48 lines
1.1 KiB
TeX
\section{\class{wxNode}}\label{wxnode}
|
|
|
|
A node structure used in linked lists (see \helpref{wxList}{wxlist}).
|
|
|
|
\wxheading{Derived from}
|
|
|
|
\helpref{wxObject}{wxobject}
|
|
|
|
\wxheading{See also}
|
|
|
|
\helpref{wxList}{wxlist}, \helpref{wxHashTable}{wxhashtable}
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
\membersection{wxNode::Data}
|
|
|
|
\func{wxObject *}{Data}{\void}
|
|
|
|
Retrieves the client data pointer associated with the node. This will
|
|
have to be cast to the correct type.
|
|
|
|
\membersection{wxNode::Next}
|
|
|
|
\func{wxNode *}{Next}{\void}
|
|
|
|
Retrieves the next node (NULL if at end of list).
|
|
|
|
\membersection{wxNode::Previous}
|
|
|
|
\func{wxNode *}{Previous}{\void}
|
|
|
|
Retrieves the previous node (NULL if at start of list).
|
|
|
|
\membersection{wxNode::SetData}
|
|
|
|
\func{void}{SetData}{\param{wxObject *}{data}}
|
|
|
|
Sets the data associated with the node (usually the pointer will have been
|
|
set when the node was created).
|
|
|
|
\membersection{wxNode::IndexOf}
|
|
|
|
\func{int}{IndexOf}{\void}
|
|
|
|
Returns the zero-based index of this node within the list. The return value
|
|
will be NOT\_FOUND if the node has not been added to a list yet.
|
|
|