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

tutk::NODE< T > Class Template Reference

#include <tlist.h>

Inheritance diagram for tutk::NODE< T >:

Inheritance graph
[legend]
Collaboration diagram for tutk::NODE< T >:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T>
class tutk::NODE< T >

Class Node to hold a each node of a List object.

This class is not intended for use by a user willing to use the List class. Node is hidden from the user of class List.


Public Member Functions

 NODE (void)
 Default Constructor.

 ~NODE ()
 Destructor.


Public Attributes

NODEnextNodePtr
 Public data member.

NODEpreviousNodePtr
 Public data member.

data
 Public data member.


Constructor & Destructor Documentation

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

Default Constructor.

A copy constructor is not provided. Hence data is partially or fully prone to multiple references as the compiler synthesized copy constructor would only be a reference copier.

template<class T>
tutk::NODE< T >::~NODE  ) 
 

Destructor.

Does not keep track of the data items having multiple references. Hence use the objects created with care.


Member Data Documentation

template<class T>
T tutk::NODE< T >::data
 

Public data member.

The member which actually holds the data.

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

Public data member.

Pointer to the next node in the list.

template<class T>
NODE* tutk::NODE< T >::previousNodePtr
 

Public data member.

Pointer to the previous node in the list.


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