|
|
|
Location:
e32std.h
Link against: euser.lib
TDeltaQueBase
Supported from 5.0
A base class that provides implementation for the TDeltaQue template class.
The class is abstract and is not intended to be instantiated.
|
Defined in TDeltaQueBase:
CountDown(), CountDown(), DoAddDelta(), DoRemove(), DoRemoveFirst(), FirstDelta(), Reset(), TDeltaQueBase(), TDeltaQueBase(), iFirstDelta
Inherited from TDblQueBase:
DoAddFirst(),
DoAddLast(),
DoAddPriority(),
IsEmpty(),
SetOffset(),
__DbgTestEmpty(),
iHead,
iOffset,
operator=()
protected : TDeltaQueBase(TInt anOffset);
Constructor with specified offset.
It sets:
iFirstDelta to NULL
TDblQueBase::iOffset to the specified value, through a call to the base class constructor.
|
TBool CountDown();
Decrements the delta value of the first element by one, and returns true if the result is negative or zero.
|
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.
|
|
TBool FirstDelta(TInt& aValue);
Gets the delta value of the first list element.
|
|
protected : 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 : void DoRemove(TAny* aPtr);
Implements the removal of the specified list element from the list.
This function is called by
TDeltaQue::Remove().
|
protected : 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