List< T > Class Template Reference

#include <List.h>

List of all members.

Public Member Functions

 List ()
 List (const List< T > &l)
virtual ~List ()
void append (const T &t)
void insert (const T &t)
void remove (Iterator *i)
Iteratorfind (const T &t) const
Iteratorget (int index) const
void removeAll ()
void appendList (List< T > *list)
void insertList (List< T > *list)
Iteratorfirst () const
Iteratorlast () const
int size () const
int operator== (const List< T > &list)

Private Attributes

Iterator_head
Iterator_tail
int _length

Classes

class  Iterator


Detailed Description

template<class T>
class List< T >

A list data structure


Constructor & Destructor Documentation

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

template<class T>
List< T >::List ( const List< T > &  l  )  [inline]

template<class T>
virtual List< T >::~List (  )  [inline, virtual]


Member Function Documentation

template<class T>
void List< T >::append ( const T &  t  )  [inline]

template<class T>
void List< T >::insert ( const T &  t  )  [inline]

template<class T>
void List< T >::remove ( Iterator i  )  [inline]

template<class T>
Iterator* List< T >::find ( const T &  t  )  const [inline]

template<class T>
Iterator* List< T >::get ( int  index  )  const [inline]

template<class T>
void List< T >::removeAll (  )  [inline]

template<class T>
void List< T >::appendList ( List< T > *  list  )  [inline]

template<class T>
void List< T >::insertList ( List< T > *  list  )  [inline]

template<class T>
Iterator* List< T >::first (  )  const [inline]

template<class T>
Iterator* List< T >::last (  )  const [inline]

template<class T>
int List< T >::size (  )  const [inline]

template<class T>
int List< T >::operator== ( const List< T > &  list  )  [inline]


Member Data Documentation

template<class T>
Iterator* List< T >::_head [private]

template<class T>
Iterator* List< T >::_tail [private]

template<class T>
int List< T >::_length [private]


Generated on Thu Jan 18 10:06:18 2007 for vhdPLUS by  doxygen 1.5.1-p1