TSglQueIterBase Class Reference

#include <e32std.h>

class TSglQueIterBase
Protected Attributes
TSglQueLink *iHead
TSglQueLink *iNext
TInt iOffset
Public Member Functions
IMPORT_C voidSetToFirst()
Protected Member Functions
TSglQueIterBase(TSglQueBase &)
IMPORT_C TAny *DoCurrent()
IMPORT_C TAny *DoPostInc()
IMPORT_C voidDoSet(TAny *)

Detailed Description

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.

Member Attribute Documentation

iHead

TSglQueLink *iHead[protected]

iNext

TSglQueLink *iNext[protected]

iOffset

TInt iOffset[protected]

Constructor & Destructor Documentation

TSglQueIterBase ( TSglQueBase & )

IMPORT_CTSglQueIterBase(TSglQueBase &aQue)[protected]

Member Function Documentation

DoCurrent ( )

IMPORT_C TAny *DoCurrent()[protected]

DoPostInc ( )

IMPORT_C TAny *DoPostInc()[protected]

DoSet ( TAny * )

IMPORT_C voidDoSet(TAny *aLink)[protected]

SetToFirst ( )

IMPORT_C voidSetToFirst()

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.