WinRecurrence Class Reference
[Windows Adapter]

Rapresents a recurrence pattern object for Windows Clients. More...

#include <WinRecurrence.h>

Inheritance diagram for WinRecurrence:

Inheritance graph
[legend]
Collaboration diagram for WinRecurrence:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 WinRecurrence ()
 Default Constructor.
 WinRecurrence (const wstring dataString, const DATE startDate=0)
 Constructor: fills propertyMap parsing the vCalendar RRULE string.
 ~WinRecurrence ()
 Destructor.
int parse (const wstring dataString, const DATE startDate=0)
 Parse a vCalendar RRULE string and fills the propertyMap.
wstring & toString ()
 Format and return a vCalendar RRULE string from the propertyMap.
const int getIntProperty (const wstring propertyName)
 Alternate method to get a property, returns an int value.
void setIntProperty (const wstring propertyName, const int propertyValue)
 Alternate method to set a property, passing an int value.

Private Attributes

wstring rrule
 Internal string formatted (RRULE).

Detailed Description

Rapresents a recurrence pattern object for Windows Clients.

The object can be filled passing a vCalendar RRULE string, or filling directly the map. Calling 'toString()' a vCalendar RRULE is formatted and returned.


Constructor & Destructor Documentation

WinRecurrence::WinRecurrence ( const wstring  dataString,
const DATE  startDate = 0 
)

Constructor: fills propertyMap parsing the vCalendar RRULE string.

Parameters:
dataString input RRULE string to parse
startDate start date (double format) of the correspondent event/task


Member Function Documentation

int WinRecurrence::parse ( const wstring  dataString,
const DATE  startDate = 0 
)

Parse a vCalendar RRULE string and fills the propertyMap.

Parameters:
dataString input RRULE string to parse
startDate start date (double format) of the correspondent event/task
Returns:
0 if no errors


The documentation for this class was generated from the following file:
Generated on Mon Feb 4 09:51:00 2008 for Funambol Outlook Plug-in Library by  doxygen 1.5.2