|
|
|
|
Location:
e32std.h
Link against: euser.lib
class TDeltaQueBase : public TDblQueBase;
A base class that provides implementation for the TDeltaQue template class.
The class is abstract and is not intended to be instantiated.
TDblQueBase - A base class that provides implementation for the doubly linked list header
TDeltaQueBase - A base class that provides implementation for the
Defined in TDeltaQueBase:
CountDown(), CountDown(), DoAddDelta(), DoRemove(), DoRemoveFirst(), FirstDelta(), Reset(), TDeltaQueBase(), TDeltaQueBase(), iFirstDelta
Inherited from TDblQueBase:
DoAddFirst(),
DoAddLast(),
DoAddPriority(),
IsEmpty(),
SetOffset(),
__DbgTestEmpty(),
iHead,
iOffset
protected: IMPORT_C TDeltaQueBase();
Default constructor.
It sets iFirstDelta to NULL.
protected: IMPORT_C TDeltaQueBase(TInt aOffset);
Constructor with specified offset.
It sets:
1. iFirstDelta to NULL
2. TDblQueBase::iOffset to the specified value, through a call to the base class constructor.
|
IMPORT_C TBool CountDown();
Decrements the delta value of the first element by one, and returns true if the result is negative or zero.
|
IMPORT_C TBool CountDown(TInt aValue);
Decrements the delta value of the first element by the specified value, and returns true if the result is negative or zero.
|
|
IMPORT_C TBool FirstDelta(TInt &aValue);
Gets the delta value of the first list element.
|
|
IMPORT_C void Reset();
Empties the doubly linked list, and resets the first delta pointer.
protected: IMPORT_C void DoAddDelta(TAny *aPtr, TInt aDelta);
Implements the addition of the specified list element into the list.
This function is called by TDeltaQue::Add().
|
protected: IMPORT_C void DoRemove(TAny *aPtr);
Implements the removal of the specified list element from the list.
This function is called by TDeltaQue::Remove().
|
protected: IMPORT_C TAny *DoRemoveFirst();
Implements the removal of the first list element from the linked list if its delta value is zero or negative.
This function is called by TDeltaQue::RemoveFirst().
|
protected: TInt * iFirstDelta;
Pointer to the delta value in the first link element.