CCoeControlArray::TCursor Class Reference
class CCoeControlArray::TCursor
|
Constructor & Destructor Documentation
TCursor(const CCoeControlArray &, TInt)
Member Functions Documentation
Control()
const T *
|
Control
|
(
|
)
|
const
|
Ctrl()
Gets the control of the cursor.
Index()
Gets the index of the cursor.
IsValid()
IMPORT_C
TBool
|
IsValid
|
(
|
)
|
const
|
Checks if the cursor is valid. Use this to replace the comparison with NULL that you would do with pointers. This function is typically used on the cursors returned by the find operations.
Next()
Updates the cursor so that it points to the next element in the array. If the current element is the last one then this function returns EFalse.
Prev()
Updates the cursor so that it points to the previous element in the array. If the current element is the first one then this function does nothing and returns EFalse.
UpdateIndex()
void
|
UpdateIndex
|
(
|
)
|
const [private]
|
This function is used by any operation that requires an update of the index.
UpdateMemento()
void
|
UpdateMemento
|
(
|
)
|
const [private]
|
This function is used by any operation that requires an update of the memento.
operator!=(const TCursor &)
Checks if the cursors are different. Cursors are equal if they point to the same control in the same array else they are different.
Parameters
const
TCursor
& aCursor
|
The other cursor.
|
operator==(const TCursor &)
Checks if the cursors are equal. Cursors are equal if they point to the same control in the same array else they are different.
Parameters
const
TCursor
& aCursor
|
The other cursor.
|
Member Data Documentation
const CCoeControlArray * iArray
TCoeControlWithId
iMemento
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.