Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TDblQueLinkBase Class Reference

A base class that provides implementation for the link object of a doubly linked list. More...

#include <e32std.h>

Inheritance diagram for TDblQueLinkBase:
TDblQueLink TDeltaQueLink TPriQueLink TTickCountQueLink

Public Member Functions

 TDblQueLinkBase ()
 Default constructor.
 
IMPORT_C void Enque (TDblQueLinkBase *aLink)
 Inserts this link object after the specified link object.
 
IMPORT_C void AddBefore (TDblQueLinkBase *aLink)
 Inserts this link object before the specified link object.
 

Public Attributes

TDblQueLinkBase * iNext
 A pointer to the next link object in the list.
 
TDblQueLinkBase * iPrev
 A pointer to the previous link object in the list.
 

Detailed Description

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.

See also
TDblQueLink
API status
Published to all clients. Released API.

Definition at line 150 of file e32std.h.

Constructor & Destructor Documentation

◆ TDblQueLinkBase()

TDblQueLinkBase::TDblQueLinkBase ( )
inline

Default constructor.

It sets the pointer to the next link object to NULL.

See also
iNext

Definition at line 153 of file e32std.h.

Member Function Documentation

◆ AddBefore()

IMPORT_C void TDblQueLinkBase::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.

TDblQue

Parameters
aLinkA pointer to the link object embedded within the list element to which this link object is to be connected. It must not be NULL.

(generated from Symbian Developer Library)

◆ Enque()

IMPORT_C void TDblQueLinkBase::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.

TDblQue

Parameters
aLinkA pointer to the link object embedded within the list element to which this link object is to be connected. It must not be NULL.

(generated from Symbian Developer Library)

Member Data Documentation

◆ iNext

TDblQueLinkBase* TDblQueLinkBase::iNext

A pointer to the next link object in the list.

Definition at line 168 of file e32std.h.

◆ iPrev

TDblQueLinkBase* TDblQueLinkBase::iPrev

A pointer to the previous link object in the list.

Definition at line 173 of file e32std.h.


The documentation for this class was generated from the following files: