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

List< T > Class Template Reference

#include <List.H>

Collaboration diagram for List< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

 List ()
 List (const List< T > &rhs)
List< T > & operator= (const List< T > &rhs)
 ~List ()
void prepend (const T &value)
void append (const T &value)
void add (const T &value)
void join (const List< T > &src)
void catenate (List< T > &src)
void clear ()
List< T > * copy () const
T & firstElement () const
T & lastElement () const
bool includes (const T &value) const
bool operator== (const List< T > &rhs) const
bool operator!= (const List< T > &rhs) const
bool isEmpty () const
bool isNotEmpty () const
int length () const
void removeFirst ()
void removeLast ()
const T & operator[] (const ListIterator< T > &li) const
T & operator[] (const ListIterator< T > &li)
void remove (const T &value)
void remove (const List< T > &lst)
void remove (ListIterator< T > &lit)
void replace (ListIterator< T > &li, const T &val)
void addAfter (ListIterator< T > &lit, const T &val)
void addBefore (ListIterator< T > &lit, const T &val)
ListIterator< T > first () const
ListIterator< T > last () const

Protected Methods

void remove (ListLink< T > *ln)
ListLink< T > * addBefore (ListLink< T > *ln, const T &val)
ListLink< T > * addAfter (ListLink< T > *ln, const T &val)

Protected Attributes

ListLink< T > * head
ListLink< T > * tail

Friends

class ListIterator< T >

template<class T>
class List< T >


Constructor & Destructor Documentation

template<class T>
List< T >::List   [inline]
 

template<class T>
List< T >::List const List< T > &    rhs
 

template<class T>
List< T >::~List   [inline]
 


Member Function Documentation

template<class T>
void List< T >::add const T &    value
 

template<class T>
ListLink< T > * List< T >::addAfter ListLink< T > *    ln,
const T &    val
[protected]
 

template<class T>
void List< T >::addAfter ListIterator< T > &    lit,
const T &    val
[inline]
 

template<class T>
ListLink< T > * List< T >::addBefore ListLink< T > *    ln,
const T &    val
[protected]
 

template<class T>
void List< T >::addBefore ListIterator< T > &    lit,
const T &    val
[inline]
 

template<class T>
void List< T >::append const T &    value [inline]
 

template<class T>
void List< T >::catenate List< T > &    src
 

template<class T>
void List< T >::clear  
 

template<class T>
List< T > * List< T >::copy   const [inline]
 

template<class T>
ListIterator< T > List< T >::first   const [inline]
 

template<class T>
T & List< T >::firstElement   const [inline]
 

template<class T>
bool List< T >::includes const T &    value const
 

template<class T>
bool List< T >::isEmpty   const [inline]
 

template<class T>
bool List< T >::isNotEmpty   const [inline]
 

template<class T>
void List< T >::join const List< T > &    src
 

template<class T>
ListIterator< T > List< T >::last   const [inline]
 

template<class T>
T & List< T >::lastElement   const [inline]
 

template<class T>
int List< T >::length   const
 

template<class T>
bool List< T >::operator!= const List< T > &    rhs const
 

template<class T>
List< T > & List< T >::operator= const List< T > &    rhs
 

template<class T>
bool List< T >::operator== const List< T > &    rhs const
 

template<class T>
T & List< T >::operator[] const ListIterator< T > &    li [inline]
 

template<class T>
const T & List< T >::operator[] const ListIterator< T > &    li const [inline]
 

template<class T>
void List< T >::prepend const T &    value [inline]
 

template<class T>
void List< T >::remove ListLink< T > *    ln [protected]
 

template<class T>
void List< T >::remove ListIterator< T > &    lit
 

template<class T>
void List< T >::remove const List< T > &    lst
 

template<class T>
void List< T >::remove const T &    value
 

template<class T>
void List< T >::removeFirst   [inline]
 

template<class T>
void List< T >::removeLast   [inline]
 

template<class T>
void List< T >::replace ListIterator< T > &    li,
const T &    val
[inline]
 


Friends And Related Function Documentation

template<class T>
friend class ListIterator< T > [friend]
 


Member Data Documentation

template<class T>
ListLink<T>* List< T >::head [protected]
 

template<class T>
ListLink<T>* List< T >::tail [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Aug 29 11:07:45 2002 for Chombo&INS by doxygen1.2.16