OpenAB  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CalDAVStorageItemIterator Class Reference

#include <CalDAVStorage.hpp>

Inheritance diagram for CalDAVStorageItemIterator:
Collaboration diagram for CalDAVStorageItemIterator:

Public Types

enum  eCursorInit { eCursorInitOK, eCursorInitFail }
 

Public Member Functions

 CalDAVStorageItemIterator ()
 Constructor. More...
 
virtual ~CalDAVStorageItemIterator ()
 Destructor, virtual by default. More...
 
enum eCursorInit cursorInit (CalDAVHelper *calDAVHelper, const std::string &calendarURL, OpenAB::PIMItemType type)
 
OpenAB_Storage::StorageItemnext ()
 Retrieve the next StorageItem. More...
 
OpenAB_Storage::StorageItem operator* ()
 Retrieve the current StorageItem. More...
 
OpenAB_Storage::StorageItemoperator-> ()
 Retrieve the current StorageItem. More...
 
unsigned int getSize () const
 Retrieve number of items in interator. More...
 
- Public Member Functions inherited from OpenAB_Storage::StorageItemIterator
 StorageItemIterator ()
 
virtual ~StorageItemIterator ()
 

Member Enumeration Documentation

Enumerator
eCursorInitOK 
eCursorInitFail 

Constructor & Destructor Documentation

CalDAVStorageItemIterator::CalDAVStorageItemIterator ( )

Constructor.

CalDAVStorageItemIterator::~CalDAVStorageItemIterator ( )
virtual

Destructor, virtual by default.

Member Function Documentation

enum CalDAVStorageItemIterator::eCursorInit CalDAVStorageItemIterator::cursorInit ( CalDAVHelper calDAVHelper,
const std::string &  calendarURL,
OpenAB::PIMItemType  type 
)
unsigned int CalDAVStorageItemIterator::getSize ( ) const
virtual

Retrieve number of items in interator.

Returns
number of items

Implements OpenAB_Storage::StorageItemIterator.

OpenAB_Storage::StorageItem * CalDAVStorageItemIterator::next ( )
virtual

Retrieve the next StorageItem.

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

Implements OpenAB_Storage::StorageItemIterator.

OpenAB_Storage::StorageItem CalDAVStorageItemIterator::operator* ( )
virtual

Retrieve the current StorageItem.

Returns
The current StorageItem

Implements OpenAB_Storage::StorageItemIterator.

OpenAB_Storage::StorageItem * CalDAVStorageItemIterator::operator-> ( )
virtual

Retrieve the current StorageItem.

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

Implements OpenAB_Storage::StorageItemIterator.


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