#include <mw/cwrt/iterable.h>
class WRT::IIterable |
Public Member Functions | |
---|---|
pure virtual void | close() |
pure virtual bool | hasNext() |
pure virtual QVariant | next() |
pure virtual void | reset() |
Interface class for iterable interface implemented by service provider.
Note, when service provider implments this interface, it must derive from this interface and QObject. e.g. CMyCollection : public QObject, public IIterable { public: CMyCollection(); .... }
void | close | ( | ) | [pure virtual] |
Free resources in the collection The service provider should provide a concrete implementation for this method.
bool | hasNext | ( | ) | [pure virtual] |
Check if there is next item available
The service provider should provide a concrete implementation for this method.