CLiwIterable Class Reference

class CLiwIterable : public CLiwContainer

Abstract interface to iterate over the collection entries. The service provider should provide a concrete implementation for the iterator.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IMPORTANT NOTE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Since container objects are reference counted, they cannot go with CleanupStack::PushL . The issue is solved by using CleanupClosePushL for pushing the container objects into the CleanupStack . Hence CLiwContainer::Close method is introduced common to all container objects

This implies that the object of this concrete implementation class being created should be pushed into the CleanupStack using CLiwContainer::PushL .

ServiceHandler.lib

CLiwContainer CLiwContainer::Close CLiwContainer::PushL

Inherits from

Member Functions Documentation

NextL(TLiwVariant &)

TBool NextL ( TLiwVariant & aEntry ) [pure virtual]

Iterates over the collection entries to fetch the next data element. The service provider should provide a concrete implementation for this method.

Parameters

TLiwVariant & aEntry contains the next data element and its corresponding data type

Reset()

void Reset ( ) [pure virtual]

Resets the iterator. The service provider should provide a concrete implementation to reset the iterator.

operator==(CLiwIterable &)

IMPORT_C TBool operator== ( CLiwIterable & aIterable ) [virtual]

Default equality operator implementation

Parameters

CLiwIterable & aIterable the iterator instance to be compared