#include <e32std.h>
class TDblQueIterBase |
Protected Attributes | |
---|---|
TDblQueLinkBase * | iHead |
TDblQueLinkBase * | iNext |
TInt | iOffset |
Public Member Functions | |
---|---|
IMPORT_C void | SetToFirst() |
IMPORT_C void | SetToLast() |
Protected Member Functions | |
---|---|
TDblQueIterBase(TDblQueBase &) | |
IMPORT_C TAny * | DoCurrent() |
IMPORT_C TAny * | DoPostDec() |
IMPORT_C TAny * | DoPostInc() |
IMPORT_C void | DoSet(TAny *) |
A base class that provides implementation for the doubly linked list iterator.
It also encapsulates a pointer to the current link list element.
The class is abstract and is not intended to be instantiated.
TInt | iOffset | [protected] |
The offset of a component link object within elements that form the list.
IMPORT_C | TDblQueIterBase | ( | TDblQueBase & | aQue | ) | [protected] |
Constructs the iterator for the specified doubly linked list.
Parameters | |
---|---|
aQue | A reference to a doubly linked list header. |
IMPORT_C TAny * | DoCurrent | ( | ) | [protected] |
Gets the current item in the queue.
The function is an implementation for TDblQueIter::operator T*().
See also: TDblQueIter::operator T*
IMPORT_C TAny * | DoPostDec | ( | ) | [protected] |
Gets the current item and then moves to the previous item.
The function is an implementation for TDblQueIter::operator--().
See also: TDblQueIter::operator--
IMPORT_C TAny * | DoPostInc | ( | ) | [protected] |
Gets the current item and then moves to the next item.
The function is an implementation for TDblQueIter::operator++().
See also: TDblQueIter::operator++
IMPORT_C void | DoSet | ( | TAny * | aLink | ) | [protected] |
Sets the iterator to point to a specific element in the list.
The function is an implementation for TDblQueIter::Set().
See also: TDblQueIter::Set
Parameters | |
---|---|
aLink | A pointer to the current list element. |