class TDeltaQueBase : public TDblQueBase |
Public Member Functions | |
---|---|
IMPORT_C TBool | CountDown () |
IMPORT_C TBool | CountDown ( TInt ) |
IMPORT_C TBool | FirstDelta ( TInt &) |
IMPORT_C void | Reset () |
Protected Member Functions | |
---|---|
TDeltaQueBase () | |
TDeltaQueBase ( TInt ) | |
IMPORT_C void | DoAddDelta ( TAny *, TInt ) |
IMPORT_C void | DoRemove ( TAny *) |
IMPORT_C TAny * | DoRemoveFirst () |
Protected Attributes | |
---|---|
TInt * | iFirstDelta |
Inherited Attributes | |
---|---|
TDblQueBase::iHead | |
TDblQueBase::iOffset |
IMPORT_C | TDeltaQueBase | ( | TInt | aOffset | ) | [protected] |
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.
TInt aOffset | The offset of a link object within an element. |
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.
TInt aValue | The amount by which the delta value is to be reduced. |
IMPORT_C void | DoAddDelta | ( | TAny * | aPtr, |
TInt | aDelta | |||
) | [protected] |
Implements the addition of the specified list element into the list.
This function is called by TDeltaQue::Add() .
IMPORT_C void | DoRemove | ( | TAny * | aPtr | ) | [protected] |
Implements the removal of the specified list element from the list.
This function is called by TDeltaQue::Remove() .
TAny * aPtr | Pointer to the list element to be removed. |
IMPORT_C TAny * | DoRemoveFirst | ( | ) | [protected] |
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() .
IMPORT_C TBool | FirstDelta | ( | TInt & | aValue | ) |
Gets the delta value of the first list element.
TInt & aValue | On return, contsins the delta value of the first element. Note that this remains unchanged if there is no first element. |
TInt * | iFirstDelta | [protected] |
Pointer to the delta value in the first link element.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.