CCoeControlArray::TCursor Class Reference

class CCoeControlArray::TCursor

This class is an iterator for the CCoeControlArray class.

Public Member Functions
TCursor(const CCoeControlArray &, TInt)
T *Control()
const T *Control()
TInt Index()
IMPORT_C TBoolIsValid()
IMPORT_C TBoolNext()
IMPORT_C TBoolPrev()
IMPORT_C TBooloperator!=(const TCursor &)
IMPORT_C TBooloperator==(const TCursor &)
Private Member Functions
IMPORT_C CCoeControl *Ctrl()
voidUpdateIndex()
voidUpdateMemento()
Private Attributes
const CCoeControlArray *iArray
TInt iIndex
TCoeControlWithId iMemento

Constructor & Destructor Documentation

TCursor(const CCoeControlArray &, TInt)

TCursor(const CCoeControlArray &aArray,
TIntaIndex
)

Parameters

const CCoeControlArray & aArray
TInt aIndex

Member Functions Documentation

Control()

T *Control()[inline]

Gets the control. The control at the current cursor position.

Control()

const T *Control()const [inline]

Gets the control. The control at the current cursor position.

Ctrl()

IMPORT_C CCoeControl *Ctrl()const [private]

Index()

TInt Index()const

IsValid()

IMPORT_C TBoolIsValid()const

Next()

IMPORT_C TBoolNext()

Prev()

IMPORT_C TBoolPrev()

UpdateIndex()

voidUpdateIndex()const [private]

UpdateMemento()

voidUpdateMemento()const [private]

operator!=(const TCursor &)

IMPORT_C TBooloperator!=(const TCursor &aCursor)const

Parameters

const TCursor & aCursor

operator==(const TCursor &)

IMPORT_C TBooloperator==(const TCursor &aCursor)const

Parameters

const TCursor & aCursor

Member Data Documentation

const CCoeControlArray * iArray

const CCoeControlArray *iArray[private]

TInt iIndex

TInt iIndex[private]

TCoeControlWithId iMemento

TCoeControlWithId iMemento[private]