wxNode< T > Class Reference

#include <wx/list.h>

List of all members.


Public Member Functions

T * GetData () const
wxNode< T > * GetNext () const
wxNode< T > * GetPrevious ()
int IndexOf ()
void SetData (T *data)

Member Function Documentation

T* wxNode< T >::GetData (  )  const

Retrieves the client data pointer associated with the node.

wxNode<T>* wxNode< T >::GetNext (  )  const

Retrieves the next node or NULL if this node is the last one.

wxNode<T>* wxNode< T >::GetPrevious (  ) 

Retrieves the previous node or NULL if this node is the first one in the list.

int wxNode< T >::IndexOf (  ) 

Returns the zero-based index of this node within the list. The return value will be wxNOT_FOUND if the node has not been added to a list yet.

void wxNode< T >::SetData ( T *  data  ) 

Sets the data associated with the node (usually the pointer will have been set when the node was created).



wxWidgets logo

[ top ]