#include <CRecurrence.h>
Public Member Functions | |
bool | setRecurrenceRule (vector< CRecurrenceRule * >VRRuleList) |
vector< CRecurrenceRule * > | getRecurrenceRule () |
vector< string > | getErule () |
vector< string > | getRrule () |
CRecurrence (CRecurrence &ref) | |
bool | setRrule (vector< string > vRRuleList) |
bool | setErule (vector< string > vERuleList) |
bool | setRDays (vector< string > vRecRuleList) |
vector< string > | getRDays () |
bool | setEDays (vector< string > vExceptionDateList) |
vector< string > | getEDays () |
bool | setRecurId (int iRId) |
int | getRecurId () |
bool | setRtype (int iRType) |
int | getRtype () |
CRecurrence (vector< string > vRRuleList, int iRId) | |
vector< time_t > | generateInstanceTimes (time_t iViewBegin, time_t iViewEnd, time_t iDateStart, int eventSpan) |
CRecurrence () | |
CRecurrence & | operator= (const CRecurrence &right) |
~CRecurrence () | |
Private Attributes | |
vector< CRecurrenceRule * > | vRecrRuleList |
vector< string > | vExceptionDateList |
vector< string > | vRecRuleList |
int | iRType |
int | iRecurId |
CRecurrence::CRecurrence | ( | CRecurrence & | ref | ) |
CRecurrence(CRecurrence & ref) copy constructor for CRecurrence class
CRecurrence::CRecurrence | ( | vector< string > | vRRuleList, | |
int | iRId | |||
) |
CRecurrence(string,int)
vector | <string> Rrule recurrence rule | |
int | recurrence id. |
CRecurrence::CRecurrence | ( | ) |
This is default constructor for recurrence class
CRecurrence::~CRecurrence | ( | ) |
This is destructor for recurrence class
bool CRecurrence::setRecurrenceRule | ( | vector< CRecurrenceRule * > | VRRuleList | ) |
setRecurrenceRule
vector | <CRecurrenceRule*> pointer to CRecurrenceRule object |
vector< CRecurrenceRule * > CRecurrence::getRecurrenceRule | ( | ) |
getRecurrenceRule
NONE |
vector< string > CRecurrence::getErule | ( | ) |
getErule Function to get the recurrence rule of a recursive event.
none |
this will call the getErule function in CRecurrenceRule object
vector< string > CRecurrence::getRrule | ( | ) |
none |
this will call the getRrule function in CRecurrenceRule object
bool CRecurrence::setRrule | ( | vector< string > | vRRuleList | ) |
string | type of calendar recurrence rule |
bool CRecurrence::setErule | ( | vector< string > | vERuleList | ) |
string | type of calendar exception recurrence rule |
bool CRecurrence::setRDays | ( | vector< string > | vRecRuleList | ) |
vector | type of calendar recurrence dates |
vector< string > CRecurrence::getRDays | ( | ) |
none |
bool CRecurrence::setEDays | ( | vector< string > | vExceptionDateList | ) |
vector | type of calendar exception recurrence dates |
vector< string > CRecurrence::getEDays | ( | ) |
none |
bool CRecurrence::setRecurId | ( | int | iRId | ) |
int | recurrence id |
int CRecurrence::getRecurId | ( | ) |
none |
bool CRecurrence::setRtype | ( | int | iRType | ) |
setRtype
: | int Type of recurrence . |
int CRecurrence::getRtype | ( | ) |
getRtype
: | NONE. |
vector< time_t > CRecurrence::generateInstanceTimes | ( | time_t | iViewBegin, | |
time_t | iViewEnd, | |||
time_t | iDateStart, | |||
int | eventSpan | |||
) |
iviewBegin | lower range of current view | |
iviewEnd | higher range of current view | |
ieventSpan | diff between date start and date end of original instance |
CRecurrence & CRecurrence::operator= | ( | const CRecurrence & | right | ) |
overloaded assignment operator
vector< CRecurrenceRule * > CRecurrence::vRecrRuleList [private] |
Vector recurrence rule
vector< string > CRecurrence::vExceptionDateList [private] |
Exception date list
vector< string > CRecurrence::vRecRuleList [private] |
Recurrence rule list
int CRecurrence::iRType [private] |
recurrence type
int CRecurrence::iRecurId [private] |
Recurrence ID