#include <List.h>
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) |
Iterator * | find (const T &t) const |
Iterator * | get (int index) const |
void | removeAll () |
void | appendList (List< T > *list) |
void | insertList (List< T > *list) |
Iterator * | first () const |
Iterator * | last () const |
int | size () const |
int | operator== (const List< T > &list) |
Private Attributes | |
Iterator * | _head |
Iterator * | _tail |
int | _length |
Classes | |
class | Iterator |
void List< T >::append | ( | const T & | t | ) | [inline] |
void List< T >::insert | ( | const T & | t | ) | [inline] |
void List< T >::removeAll | ( | ) | [inline] |
int List< T >::size | ( | ) | const [inline] |