|
||
class TContactIter;
Iterates through the sorted contact items in a contact database.
A value of KNullContactId is returned by the iterator if a requested item cannot be found.
Defined in TContactIter
:
FirstL()
Moves to the first contact item in the databaseGotoL()
Moves to the specified contact itemLastL()
Moves to the last contact item in the databaseNextL()
Moves to the next contact item in the databasePreviousL()
Moves to the previous contact item in the databaseReset()
Resets the iterator to its initialised state, so that a subsequent call to NextL() goes to the first itemTContactIter()
Constructs the object with a contact databaseIMPORT_C TContactIter(CContactDatabase &aDatabase);
Constructs the object with a contact database.
|
IMPORT_C TContactItemId FirstL();
Moves to the first contact item in the database.
|
IMPORT_C TContactItemId NextL();
Moves to the next contact item in the database.
On a newly initialised TContactIter, this function moves to the first item.
|
IMPORT_C TContactItemId PreviousL();
Moves to the previous contact item in the database.
Note: you must not call this function on a newly initialised database, otherwise the function raises a panic.
|
IMPORT_C TContactItemId LastL();
Moves to the last contact item in the database.
|
IMPORT_C void GotoL(TContactItemId aContactId);
Moves to the specified contact item.
|
IMPORT_C void Reset();
Resets the iterator to its initialised state, so that a subsequent call to NextL()
goes to the first item.