class TDblQueLinkBase |
A base class that provides implementation for the link object of a doubly linked list.
It also encapsulates pointers both to the next and the previous link objects in the doubly linked list.
The class is abstract and is not intended to be instantiated.
Public Member Functions | |
---|---|
TDblQueLinkBase() | |
IMPORT_C void | AddBefore(TDblQueLinkBase *) |
IMPORT_C void | Enque(TDblQueLinkBase *) |
Public Attributes | |
---|---|
TDblQueLinkBase * | iNext |
TDblQueLinkBase * | iPrev |
IMPORT_C void | AddBefore | ( | TDblQueLinkBase * | aLink | ) |
Inserts this link object before the specified link object.
The specified link object must already be in the doubly linked list.
The function cannot be used to insert a list element into the beginning or end of a doubly linked list; this is handled by the TDblQue::AddFirst() and TDblQue::AddLast() functions.
TDblQueLinkBase * aLink | A pointer to the link object embedded within the list element to which this link object is to be connected. It must not be NULL. |
IMPORT_C void | Enque | ( | TDblQueLinkBase * | aLink | ) |
Inserts this link object after the specified link object.
The specified link object must already be in the doubly linked list.
The function cannot be used to insert a list element into the beginning or end of a doubly linked list; this is handled by the TDblQue::AddFirst() and TDblQue::AddLast() functions.
TDblQueLinkBase * aLink | A pointer to the link object embedded within the list element to which this link object is to be connected. It must not be NULL. |
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.