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

Documentation for class EDSCalendarStorageCommon. More...

#include <EDSCalendarStorageCommon.hpp>

Static Public Member Functions

static std::string cutVObject (std::istream &stream)
 
static OpenAB::PIMCalendarItemprocessObject (const std::vector< icalcomponent * > &newEvents)
 Processes VEVENT or VTODO components obtained from EDS Adds VTIMEZONE component and creates new VCALENDAR object In case of recurring events all instances are merged to one VCALENDAR object. More...
 
static OpenAB::PIMCalendarItemprocessObject (const std::vector< std::string > &iCals)
 Processes VEVENT or VTODO components obtained from EDS Adds VTIMEZONE component and creates new VCALENDAR object In case of recurring events all instances are merged to one VCALENDAR object. More...
 

Detailed Description

Documentation for class EDSCalendarStorageCommon.

Member Function Documentation

std::string EDSCalendarStorageCommon::cutVObject ( std::istream &  stream)
static

Cuts VEVENT or VTODO part out of VCALENDARs stream

Parameters
[in]streamstream from which VEVENT or VTODO should be cut
Returns
next VEVENT or VTODO string or empty string if these components were not found in stream
OpenAB::PIMCalendarItem * EDSCalendarStorageCommon::processObject ( const std::vector< icalcomponent * > &  newEvents)
static

Processes VEVENT or VTODO components obtained from EDS Adds VTIMEZONE component and creates new VCALENDAR object In case of recurring events all instances are merged to one VCALENDAR object.

Parameters
[in]newEventsicalcomponent with instances of given event.
Returns
OpenAB::PIMCalendarItem or NULL if components couldn't be processed.
OpenAB::PIMCalendarItem * EDSCalendarStorageCommon::processObject ( const std::vector< std::string > &  iCals)
static

Processes VEVENT or VTODO components obtained from EDS Adds VTIMEZONE component and creates new VCALENDAR object In case of recurring events all instances are merged to one VCALENDAR object.

Parameters
[in]iCalsiCalendar objects with instances of given event
Returns
OpenAB::PIMCalendarItem or NULL if component couldn't be processed.

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