⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node.tex

📁 很牛的GUI源码wxWidgets-2.8.0.zip 可在多种平台下运行.
💻 TEX
字号:
\section{\class{wxNode}}\label{wxnode}wxNodeBase is the node structure used in linked lists (see \helpref{wxList}{wxlist}) and derived classes. You should never use wxNodeBaseclass directly, however, because it works with untyped ({\tt void *}) data andthis is unsafe. Use wxNodeBase-derived classes which are automatically definedby WX\_DECLARE\_LIST and WX\_DEFINE\_LIST macros instead as described in\helpref{wxList}{wxlist} documentation (see example there). Also note thatalthough there is a class called wxNode, it is defined for backwardscompatibility only and usage of this class is strongly deprecated.In the documentation below, the type {\tt T} should be thought of as a``template'' parameter: this is the type of data stored in the linked list or,in other words, the first argument of WX\_DECLARE\_LIST macro. Also, wxNode iswritten as wxNode<T> even though it isn't really a template class -- but ithelps to think of it as if it were.\wxheading{Derived from}None.\wxheading{Include files}<wx/list.h>\wxheading{See also}\helpref{wxList}{wxlist}, \helpref{wxHashTable}{wxhashtable}\latexignore{\rtfignore{\wxheading{Members}}}\membersection{wxNode<T>::GetData}\label{wxnodegetdata}\constfunc{T *}{GetData}{\void}Retrieves the client data pointer associated with the node.\membersection{wxNode<T>::GetNext}\label{wxnodegetnext}\constfunc{wxNode<T> *}{GetNext}{\void}Retrieves the next node or NULL if this node is the last one.\membersection{wxNode<T>::GetPrevious}\label{wxnodegetprevious}\func{wxNode<T> *}{GetPrevious}{\void}Retrieves the previous node or NULL if this node is the first one in the list.\membersection{wxNode<T>::SetData}\label{wxnodesetdata}\func{void}{SetData}{\param{T *}{data}}Sets the data associated with the node (usually the pointer will have beenset when the node was created).\membersection{wxNode<T>::IndexOf}\label{wxnodeindexof}\func{int}{IndexOf}{\void}Returns the zero-based index of this node within the list. The return valuewill be {\tt wxNOT\_FOUND} if the node has not been added to a list yet.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -