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

tutk::TemplateNode< T > Class Template Reference

#include <templateNode.h>

Collaboration diagram for tutk::TemplateNode< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class tutk::TemplateNode< T >

A class which is used as the node in an object of type OrderedList.


Public Member Functions

 TemplateNode (void)
 Default Constructor.


Public Attributes

TemplateNode< T > * prevNodePtr
 Pointer to the previous node when used in a list.

TemplateNode< T > * nextNodePtr
 Pointer to the next node when used in a list.

T * data
 Pointer to the data held by this node.

double key
 Key for the data pointed to by this node.


Constructor & Destructor Documentation

template<class T>
tutk::TemplateNode< T >::TemplateNode void   ) 
 

Default Constructor.

Initialises all the pointer members to NULL and the key value to 0;


Member Data Documentation

template<class T>
T* tutk::TemplateNode< T >::data
 

Pointer to the data held by this node.

This is initialised to NULL on object creation.

template<class T>
double tutk::TemplateNode< T >::key
 

Key for the data pointed to by this node.

This key value will be used in ordering the list.

template<class T>
TemplateNode< T >* tutk::TemplateNode< T >::nextNodePtr
 

Pointer to the next node when used in a list.

This is initialised to null on object creation.

template<class T>
TemplateNode< T >* tutk::TemplateNode< T >::prevNodePtr
 

Pointer to the previous node when used in a list.

This is initialised to null on object creation.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:42 2004 for ImprolaLib by doxygen 1.3.7