Location:
e32std.h
Link against: euser.lib
class TDblQueIterBase;
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.
Defined in TDblQueIterBase
:
DoCurrent()
, DoPostDec()
, DoPostInc()
, DoSet()
, SetToFirst()
, SetToLast()
, TDblQueIterBase()
, iHead
, iNext
, iOffset
protected: IMPORT_C TDblQueIterBase(TDblQueBase &aQue);
Constructs the iterator for the specified doubly linked list.
|
IMPORT_C void SetToFirst();
Sets the iterator to point to the first element in the doubly linked list.
The function can be called to re-set the pointer at any time during the iterator's existence.
The function can be called even if the list has no elements.
IMPORT_C void SetToLast();
Sets the iterator to point to the last element in the doubly linked list. The function can be called to re-set the pointer at any time during the iterator's existence.
The function can be called even if the list has no elements.
protected: IMPORT_C TAny *DoPostInc();
Gets the current item and then moves to the next item.
The function is an implementation for TDblQueIter::operator++()
.
|
protected: IMPORT_C TAny *DoPostDec();
Gets the current item and then moves to the previous item.
The function is an implementation for TDblQueIter::operator--()
.
|
protected: IMPORT_C TAny *DoCurrent();
Gets the current item in the queue.
The function is an implementation for TDblQueIter::operator T*()
.
|
protected: IMPORT_C void DoSet(TAny *aLink);
Sets the iterator to point to a specific element in the list.
The function is an implementation for TDblQueIter::Set()
.
|
protected: TInt iOffset;
The offset of a component link object within elements that form the list.
protected: TDblQueLinkBase * iNext;
Pointer to the current element.