TSglQueIterBase Class Reference

class TSglQueIterBase

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

It also encapsulates a pointer to the current link link list element.

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

Public Member Functions
IMPORT_C void SetToFirst ()
Protected Member Functions
TSglQueIterBase ( TSglQueBase &)
IMPORT_C TAny * DoCurrent ()
IMPORT_C TAny * DoPostInc ()
IMPORT_C void DoSet ( TAny *)
Protected Attributes
TSglQueLink * iHead
TSglQueLink * iNext
TInt iOffset

Constructor & Destructor Documentation

TSglQueIterBase(TSglQueBase &)

IMPORT_C TSglQueIterBase ( TSglQueBase & aQue ) [protected]

Parameters

TSglQueBase & aQue

Member Functions Documentation

DoCurrent()

IMPORT_C TAny * DoCurrent ( ) [protected]

DoPostInc()

IMPORT_C TAny * DoPostInc ( ) [protected]

DoSet(TAny *)

IMPORT_C void DoSet ( TAny * aLink ) [protected]

Parameters

TAny * aLink

SetToFirst()

IMPORT_C void SetToFirst ( )

Sets the iterator to point to the first element in the singly linked list.

The function can be called to re-set the pointer at any time during the iterator's existence.

The function can be called even if the list has no elements.

Member Data Documentation

TSglQueLink * iHead

TSglQueLink * iHead [protected]

TSglQueLink * iNext

TSglQueLink * iNext [protected]

TInt iOffset

TInt iOffset [protected]