#include <multilist.h>
Inherits GenericMultiListIterator.
Inherited by PriorityMultiListIterator< ObjectType >.
Public Member Functions | |
| MultiListIterator (MultiListClass< ObjectType > *list) | |
| ObjectType * | Get_Obj (void) |
| ObjectType * | Peek_Obj (void) |
| void | Remove_Current_Object (void) |
Public Member Functions inherited from GenericMultiListIterator | |
| GenericMultiListIterator (GenericMultiListClass *list) | |
| void | First (GenericMultiListClass *list) |
| void | First (void) |
| void | Last (GenericMultiListClass *list) |
| void | Last (void) |
| void | Next (void) |
| void | Prev (void) |
| bool | Is_Done (void) |
Additional Inherited Members | |
Protected Member Functions inherited from GenericMultiListIterator | |
| MultiListObjectClass * | Current_Object (void) |
Protected Attributes inherited from GenericMultiListIterator | |
| GenericMultiListClass * | List |
| MultiListNodeClass * | CurNode |
MultiListIterator This is a template derived from GenericMultiListIterator which allows you to iterate through specialized MultiListClass's. Again, it basically just type-casts all of the pointers for you (hopefully compiles away to nothing...)
WARNING: If you need to remove an object from a MultiList while you are iterating, use the Remove_Current_Object function (don't modify the list directly while iterating it).
Definition at line 295 of file multilist.h.
|
inline |
Definition at line 299 of file multilist.h.
|
inline |
Definition at line 301 of file multilist.h.
|
inline |
Definition at line 306 of file multilist.h.
|
inline |
Definition at line 311 of file multilist.h.