lcs::ListNode< T > Class Template Reference

#include <listnode.h>

List of all members.


Detailed Description

template<class T>
class lcs::ListNode< T >

A class to hold each node of a lcs::List object. This class is not intended for use by a user willing to use the List class. ListNode is hidden from the user of class lcs::List. Under normal circumstances, a user of libLCS will not need to make use of this class directly.


Public Member Functions

 ListNode (void)
 ~ListNode ()

Public Attributes

ListNodenextNodePtr
ListNodepreviousNodePtr
data


Constructor & Destructor Documentation

template<class T>
lcs::ListNode< T >::ListNode ( 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>
lcs::ListNode< T >::~ListNode (  ) 

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 lcs::ListNode< T >::data

Public data member. The member which actually holds the data.

template<class T>
ListNode* lcs::ListNode< T >::nextNodePtr

Public data member. Pointer to the next ListNode in the list.

template<class T>
ListNode* lcs::ListNode< T >::previousNodePtr

Public data member. Pointer to the previous ListNode in the list.


Generated on Sat Oct 14 11:23:40 2006 for libLCS by  doxygen 1.4.7