TDeltaQueBase Class Reference
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.
TDeltaQue
Constructor & Destructor Documentation
TDeltaQueBase()
IMPORT_C | TDeltaQueBase | ( | ) | [protected] |
TDeltaQueBase(TInt)
IMPORT_C | TDeltaQueBase | ( | TInt | aOffset | ) | [protected] |
Parameters
TInt aOffset | The offset of a link object within an element. |
Member Functions Documentation
CountDown()
IMPORT_C TBool | CountDown | ( | ) | |
Decrements the delta value of the first element by one, and returns true if the result is negative or zero.
CountDown(TInt)
Decrements the delta value of the first element by the specified value, and returns true if the result is negative or zero.
Parameters
TInt aValue | The amount by which the delta value is to be reduced. |
DoAddDelta(TAny *, TInt)
IMPORT_C void | DoAddDelta | ( | TAny * | aPtr, |
| TInt | aDelta |
| ) | [protected] |
Parameters
TAny * aPtr | Pointer to the list element to be inserted. |
TInt aDelta | The 'distance' from the nominal zero point. |
DoRemove(TAny *)
IMPORT_C void | DoRemove | ( | TAny * | aPtr | ) | [protected] |
Parameters
TAny * aPtr | Pointer to the list element to be removed. |
DoRemoveFirst()
IMPORT_C TAny * | DoRemoveFirst | ( | ) | [protected] |
FirstDelta(TInt &)
Gets the delta value of the first list element.
Parameters
TInt & aValue | On return, contsins the delta value of the first element. Note that this remains unchanged if there is no first element. |
Reset()
Empties the doubly linked list, and resets the first delta pointer.
Member Data Documentation
TInt * iFirstDelta
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.