TSglQueBase Class Reference

class TSglQueBase

A base class that provides implementation for the singly linked list header.

It also encapsulates the offset value of a link object.

The class is abstract and is not intended to be instantiated.

TSglQue

Public Member Functions
IMPORT_C TBoolIsEmpty()
IMPORT_C voidReset()
IMPORT_C voidSetOffset(TInt)
Protected Member Functions
TSglQueBase()
TSglQueBase(TInt)
IMPORT_C voidDoAddFirst(TAny *)
IMPORT_C voidDoAddLast(TAny *)
IMPORT_C voidDoRemove(TAny *)
Private Member Functions
TSglQueBase(const TSglQueBase &)
TSglQueBase &operator=(const TSglQueBase &)
Protected Attributes
TSglQueLink *iHead
TSglQueLink *iLast
TInt iOffset

Constructor & Destructor Documentation

TSglQueBase()

IMPORT_CTSglQueBase()[protected]

TSglQueBase(TInt)

IMPORT_CTSglQueBase(TIntaOffset)[protected]

Parameters

TInt aOffset

TSglQueBase(const TSglQueBase &)

TSglQueBase(const TSglQueBase &aQue)[private]

Parameters

const TSglQueBase & aQue

Member Functions Documentation

DoAddFirst(TAny *)

IMPORT_C voidDoAddFirst(TAny *aPtr)[protected]

Parameters

TAny * aPtr

DoAddLast(TAny *)

IMPORT_C voidDoAddLast(TAny *aPtr)[protected]

Parameters

TAny * aPtr

DoRemove(TAny *)

IMPORT_C voidDoRemove(TAny *aPtr)[protected]

Parameters

TAny * aPtr

IsEmpty()

IMPORT_C TBoolIsEmpty()const

Reset()

IMPORT_C voidReset()

SetOffset(TInt)

IMPORT_C voidSetOffset(TIntaOffset)

Parameters

TInt aOffset

operator=(const TSglQueBase &)

TSglQueBase &operator=(const TSglQueBase &aQue)[private]

Parameters

const TSglQueBase & aQue

Member Data Documentation

TSglQueLink * iHead

TSglQueLink *iHead[protected]

A pointer to the first element in the list.

TSglQueLink * iLast

TSglQueLink *iLast[protected]

A pointer to the last element in the list.

TInt iOffset

TInt iOffset[protected]

The offset of a component link object within elements that form the list.