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
Public Member Functions | |
---|---|
TBool | NextL(TLiwVariant &) |
void | Reset() |
IMPORT_C TBool | operator==(CLiwIterable &) |
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.
TLiwVariant & aEntry | contains the next data element and its corresponding data type |
void | Reset | ( | ) | [pure virtual] |
Resets the iterator. The service provider should provide a concrete implementation to reset the iterator.
IMPORT_C TBool | operator== | ( | CLiwIterable & | aIterable | ) | [virtual] |
Default equality operator implementation
CLiwIterable & aIterable | the iterator instance to be compared |
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.