#include <list.h>
Inheritance diagram for BasicList:
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 |
Definition at line 55 of file list.h.