MPbk2ContactLinkIterator Class Reference

class MPbk2ContactLinkIterator

Phonebook 2 contact link iterator interface. Contact link iterators can be used to iterate a set of contact links.

Constructor & Destructor Documentation

~MPbk2ContactLinkIterator()

~MPbk2ContactLinkIterator ( ) [inline, virtual]

Destructor.

Member Functions Documentation

ContactLinkIteratorExtension(TUid)

TAny * ContactLinkIteratorExtension ( TUid ) [inline, virtual]

Returns an extension point for this interface or NULL.

Parameters

TUid

HasNext()

TBool HasNext ( ) const [pure virtual]

Returns ETrue if this list iterator has more links when traversing the list into forward direction.

HasPrevious()

TBool HasPrevious ( ) const [pure virtual]

Returns ETrue if this iterator has more links when traversing the list into reverse direction.

NextL()

MVPbkContactLink * NextL ( ) [pure virtual]

Returns the next link in the list. Ownership of the MVPbkContactLink is transferred to the client.

PreviousL()

MVPbkContactLink * PreviousL ( ) [pure virtual]

Returns the previous link in the list. Ownership of the MVPbkContactLink is transferred to the client.

SetToFirst()

void SetToFirst ( ) [pure virtual]

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

SetToLast()

void SetToLast ( ) [pure virtual]

Sets the iterator to point to the last element in the list.