Main Page   Class Hierarchy   Compound List   File List   Compound Members  

List Class Template Reference

Virtually double-linked list (using XOR address encoding). More...

#include <mlist.h>

List of all members.

Public Methods

 List ()
 List (const List< T > &orig)
 ~List ()
void add (T object)
ListNode<T>* getFirst ()
ListNode<T>* getLast ()
void empty ()
void copy (const List< T > &orig)
void moveItemsFrom (List< T > &orig)

Protected Attributes

ListNode<T>* mFirst
ListNode<T> * mLast
friend ListIter<T>


Detailed Description

template<class T> class List

Virtually double-linked list (using XOR address encoding).

Definition at line 17 of file mlist.h.


Member Function Documentation

void moveItemsFrom ( List< T > & orig ) [inline]
 

Moves all items from the given list to this list.

Definition at line 56 of file mlist.h.


The documentation for this class was generated from the following file:
Generated at Tue Dec 4 19:53:30 2001 for MagiC++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001