Main Page   Class Hierarchy   Compound List   File List   Compound Members  

BasicList Class Template Reference

#include <list.h>

Inheritance diagram for BasicList:

BasicNode List of all members.

Public Types

enum  ListResetMode { delete_at_reset, keep_at_reset }

Public Methods

 BasicList ()
 BasicList (BasicList< T > &a)
 ~BasicList ()
BasicNode< T > * first ()
BasicNode< T > * last ()
void reset ()
void add (BasicNode< T > *obj)
void add (const T &data)
void addElements (BasicList< T > &list)
BasicNode< T > * remove (BasicNode< T > *obj)
void erase (BasicNode< T > *obj)
BasicList< T > & operator= (const BasicList< T > &a)
BasicNode< T > * goToFirst ()
BasicNode< T > * goToNext ()
BasicNode< T > * goToPrevious ()
int size () const
BasicNode< T > * operator[] (int i)
int resetMode () const
void setResetMode (ListResetMode a)

Public Attributes

BasicNode< T > * current

Protected Attributes

BasicNode< T > * first_
BasicNode< T > * last_
int n
int nc
ListResetMode reset_mode

Detailed Description

template<class T>
class BasicList< T >

** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** class BasicList --- A basic linked list class A basic linked list class. author Philippe Lavoie (27 October 1997) Modified by: ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** *

Definition at line 55 of file list.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 13:26:59 2003 for NURBS++ by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002