OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OpenAB_Storage::StorageItemIterator Class Referenceabstract

The StorageItemIterator is mainly used to quickly browse the Storage contents. More...

#include <StorageItem.hpp>

Inheritance diagram for OpenAB_Storage::StorageItemIterator:

Public Member Functions

 StorageItemIterator ()
 
virtual ~StorageItemIterator ()
 
virtual StorageItemnext ()=0
 Retrieve the next StorageItem. More...
 
virtual StorageItem operator* ()=0
 Retrieve the current StorageItem. More...
 
virtual StorageItemoperator-> ()=0
 Retrieve the current StorageItem. More...
 
virtual unsigned int getSize () const =0
 Retrieve number of items in interator. More...
 

Detailed Description

The StorageItemIterator is mainly used to quickly browse the Storage contents.

Constructor & Destructor Documentation

OpenAB_Storage::StorageItemIterator::StorageItemIterator ( )
inline
virtual OpenAB_Storage::StorageItemIterator::~StorageItemIterator ( )
inlinevirtual

Member Function Documentation

virtual unsigned int OpenAB_Storage::StorageItemIterator::getSize ( ) const
pure virtual

Retrieve number of items in interator.

Returns
number of items

Implemented in CalDAVStorageItemIterator, CardDAVStorageItemIterator, EDSCalendarStorageItemIterator, and EDSContactsStorageItemIterator.

virtual StorageItem* OpenAB_Storage::StorageItemIterator::next ( )
pure virtual

Retrieve the next StorageItem.

Returns
The next StorageItem or NULL if no more StorageItem are available

Implemented in CalDAVStorageItemIterator, CardDAVStorageItemIterator, EDSCalendarStorageItemIterator, and EDSContactsStorageItemIterator.

virtual StorageItem OpenAB_Storage::StorageItemIterator::operator* ( )
pure virtual
virtual StorageItem* OpenAB_Storage::StorageItemIterator::operator-> ( )
pure virtual

Retrieve the current StorageItem.

Returns
The current StorageItem or NULL if no more StorageItem are available

Implemented in CalDAVStorageItemIterator, CardDAVStorageItemIterator, EDSCalendarStorageItemIterator, and EDSContactsStorageItemIterator.


The documentation for this class was generated from the following file: