#include <GContainers.h>
Inheritance diagram for Iterator< Type >:

Public Member Functions | |
| Iterator (DLinkList *l) | |
| Constructor. | |
| ~Iterator () | |
| Destructor. | |
| Type * | operator[] (int Index) |
| Return the pointer at 'Index'. | |
| Type * | First () |
| Return the first pointer. | |
| Type * | Last () |
| Return the first pointer. | |
| Type * | Next () |
| Return the next pointer. | |
| Type * | Prev () |
| Return the previous pointer. | |
| Type * | Current () |
| Return the current pointer. | |
| bool | HasItem (Type *p) |
| Return true if the pointer is in the list. | |
| int | IndexOf (Type *p) |
| Return the index of the pointer if it's in the list, otherwise -1. | |
|
||||||||||
|
Constructor.
|
1.4.1