ListNode< T > Struct Template Reference

#include <List.h>

Collaboration diagram for ListNode< T >:

Collaboration graph
[legend]

Public Member Functions

 ListNode (T *e=NULL, ListNode *n=NULL, ListNode *p=NULL)

Data Fields

T * element
ListNodenext
ListNodeprev

template<class T>
struct ListNode< T >


Constructor & Destructor Documentation

template<class T>
ListNode< T >::ListNode T *  e = NULL,
ListNode< T > *  n = NULL,
ListNode< T > *  p = NULL
[inline]
 

Definition at line 36 of file List.h.

00037     : element(e), next(n), prev(p) { }


Field Documentation

template<class T>
T* ListNode< T >::element
 

Definition at line 32 of file List.h.

Referenced by List< T >::delete_list(), List< T >::get_nth(), List< T >::operator=(), and List< T >::remove().

template<class T>
ListNode* ListNode< T >::next
 

Definition at line 33 of file List.h.

Referenced by List< T >::delete_list(), List< T >::get_nth(), List< T >::insert_first(), List< T >::insert_last(), List< Shape >::is_empty(), List< T >::number_of_elements(), List< T >::operator=(), List< T >::print_list(), and List< T >::remove().

template<class T>
ListNode* ListNode< T >::prev
 

Definition at line 34 of file List.h.

Referenced by List< T >::delete_list(), List< T >::insert_first(), List< T >::insert_last(), and List< T >::remove().


The documentation for this struct was generated from the following file:
Generated on Fri Oct 15 15:50:09 2004 for Real Time Battle by  doxygen 1.3.9.1