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

List< TYPE > Class Template Reference

#include <linklist.h>

List of all members.

Public Member Functions

 List ()
virtual ~List ()
void remove (TYPE *item)
void remove_pointer (ListItem< TYPE > *item)
TYPE * append ()
TYPE * append (TYPE *new_item)
TYPE * insert_before (TYPE *item)
TYPE * insert_before (TYPE *item, TYPE *new_item)
TYPE * insert_after (TYPE *item)
TYPE * insert_after (TYPE *item, TYPE *new_item)
TYPE * get_item_number (int number)
int get_item_number (TYPE *item)
void swap (TYPE *item1, TYPE *item2)
int total ()
int number_of (TYPE *item)

Public Attributes

TYPE * first
TYPE * last


Detailed Description

template<class TYPE>
class List< TYPE >

Definition at line 8 of file linklist.h.


Constructor & Destructor Documentation

template<class TYPE>
List< TYPE >::List  ) 
 

Definition at line 55 of file linklist.h.

template<class TYPE>
List< TYPE >::~List  )  [virtual]
 

Definition at line 61 of file linklist.h.


Member Function Documentation

template<class TYPE>
TYPE * List< TYPE >::append TYPE *  new_item  ) 
 

Definition at line 144 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::append  ) 
 

Definition at line 121 of file linklist.h.

template<class TYPE>
int List< TYPE >::get_item_number TYPE *  item  ) 
 

Definition at line 108 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::get_item_number int  number  ) 
 

Definition at line 96 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::insert_after TYPE *  item,
TYPE *  new_item
 

Definition at line 201 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::insert_after TYPE *  item  ) 
 

Definition at line 194 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::insert_before TYPE *  item,
TYPE *  new_item
 

Definition at line 174 of file linklist.h.

template<class TYPE>
TYPE * List< TYPE >::insert_before TYPE *  item  ) 
 

Definition at line 167 of file linklist.h.

template<class TYPE>
int List< TYPE >::number_of TYPE *  item  ) 
 

Definition at line 83 of file linklist.h.

template<class TYPE>
void List< TYPE >::remove TYPE *  item  ) 
 

Definition at line 271 of file linklist.h.

template<class TYPE>
void List< TYPE >::remove_pointer ListItem< TYPE > *  item  ) 
 

Definition at line 278 of file linklist.h.

template<class TYPE>
void List< TYPE >::swap TYPE *  item1,
TYPE *  item2
 

Definition at line 221 of file linklist.h.

template<class TYPE>
int List< TYPE >::total  ) 
 

Definition at line 70 of file linklist.h.


Member Data Documentation

template<class TYPE>
TYPE* List< TYPE >::first
 

Definition at line 37 of file linklist.h.

template<class TYPE>
TYPE* List< TYPE >::last
 

Definition at line 38 of file linklist.h.


The documentation for this class was generated from the following file:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4