|
|
|
Location:
e32std.h
Link against: euser.lib
TDblQueIterBase
Supported from 5.0
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
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.
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 : TDblQueIterBase(TDblQueBase& aQue);
Constructs the iterator for the specified doubly linked list.
|
protected : TAny* DoPostInc();
Returns the current item and then moves to the next item.
The function is an implementation for TDblQueIter::operator++().
|
protected : TAny* DoPostDec();
Returns the current item and then moves to the previous item.
The function is an implementation for TDblQueIter::operator--().
|
protected : TAny* DoCurrent();
Returns the current item in the queue.
The function is an implementation for TDblQueIter::operator T*().
|
protected : 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.