TDblQueLinkBase Class Reference

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.

TDblQueLink

Public Member Functions
TDblQueLinkBase()
IMPORT_C voidAddBefore(TDblQueLinkBase *)
IMPORT_C voidEnque(TDblQueLinkBase *)
Public Attributes
TDblQueLinkBase *iNext
TDblQueLinkBase *iPrev

Constructor & Destructor Documentation

TDblQueLinkBase()

TDblQueLinkBase()[inline]

Default constructor.

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

iNext

Member Functions Documentation

AddBefore(TDblQueLinkBase *)

IMPORT_C voidAddBefore(TDblQueLinkBase *aLink)

Parameters

TDblQueLinkBase * aLink

Enque(TDblQueLinkBase *)

IMPORT_C voidEnque(TDblQueLinkBase *aLink)

Parameters

TDblQueLinkBase * aLink

Member Data Documentation

TDblQueLinkBase * iNext

TDblQueLinkBase *iNext

A pointer to the next link object in the list.

TDblQueLinkBase * iPrev

TDblQueLinkBase *iPrev

A pointer to the previous link object in the list.