Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

base::SingleLinkable< T > Struct Template Reference

Template for typed manipulation. More...

#include <linkable.h>

Inheritance diagram for base::SingleLinkable< T >:

base::SingleLinkable_t List of all members.

Public Member Functions

void link (T **fromWhere)
 Link this linkable node from a given root.
void unlink (T **fromWhere)
 Unlink this linkable node from a given root.
T * getNext () const
 Access to the (typed) next linkable element.
T ** getAtNext ()
 Access to the address of the next pointed element.

Detailed Description

template<class T>
struct base::SingleLinkable< T >

Template for typed manipulation.


Member Function Documentation

template<class T>
T** base::SingleLinkable< T >::getAtNext  )  [inline]
 

Access to the address of the next pointed element.

Returns:
address of the pointer to the next element.

template<class T>
T* base::SingleLinkable< T >::getNext  )  const [inline]
 

Access to the (typed) next linkable element.

Returns:
pointer to next element

template<class T>
void base::SingleLinkable< T >::link T **  fromWhere  )  [inline]
 

Link this linkable node from a given root.

Precondition:
struct your_struct : publid SingleLinkable<your_struct>
Parameters:
fromWhere,: from where the node should be linked.

template<class T>
void base::SingleLinkable< T >::unlink T **  fromWhere  )  [inline]
 

Unlink this linkable node from a given root.

Precondition:
struct your_struct : publid SingleLinkable<your_struct>
Parameters:
fromWhere,: from where the node should be unlinked.


The documentation for this struct was generated from the following file:
Generated on Fri Jun 30 00:02:30 2006 for Module base by  doxygen 1.4.2