#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, int is_day, string sTzid) |
| bool | checkInstances (time_t iViewBegin, time_t iViewEnd, time_t iDateStart, int eventSpan, int is_day, string sTzid) |
| CRecurrence () | |
| CRecurrence & | operator= (const CRecurrence &right) |
| ~CRecurrence () | |
| string | toString () |
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(CRecurrence & ref) copy constructor for CRecurrence class
References iRecurId, iRType, vExceptionDateList, vRecrRuleList, and vRecRuleList.
| CRecurrence::CRecurrence | ( | vector< string > | vRRule, | |
| int | iRecurId | |||
| ) |
CRecurrence(string,int)
| vector | <string> Rrule recurrence rule | |
| int | recurrence id. |
CRecurrence This is overloaded constructor for recurrence class
| Rrule | recurrence rule | |
| int | recurrence id. |
References iRType, and setRrule().
| CRecurrence::CRecurrence | ( | ) |
This is default constructor for recurrence class
CRecurrence() This is default constructor for recurrence class
References iRType.
| CRecurrence::~CRecurrence | ( | ) |
This is destructor for recurrence class
~CRecurrence() This is destructor for recurrence class
References vExceptionDateList, vRecrRuleList, and vRecRuleList.
| bool CRecurrence::setRecurrenceRule | ( | vector< CRecurrenceRule * > | vRRule | ) |
setRecurrenceRule
| vector | <CRecurrenceRule*> pointer to CRecurrenceRule object |
| vector | CRecurrenceRule* pointers to CRecurrenceRule object |
References vRecrRuleList.
Referenced by ICalConverter::importEventRecurrence().
| vector< CRecurrenceRule * > CRecurrence::getRecurrenceRule | ( | ) |
getRecurrenceRule
| NONE |
| NONE |
References vRecrRuleList.
Referenced by CComponent::retrieveRecurreceRuleObject().
| 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
References vRecrRuleList.
Referenced by CCalendar::addRecurrence(), generateInstanceTimes(), and CCalendar::modifyRecurrence().
| vector< string > CRecurrence::getRrule | ( | ) |
| none |
getRrule Function to get the recurrence rule of a recursive event.
| none |
this will call the getRrule function in CRecurrenceRule object
References vRecrRuleList.
Referenced by CCalendar::addRecurrence(), checkInstances(), generateInstanceTimes(), and CCalendar::modifyRecurrence().
| bool CRecurrence::setRrule | ( | vector< string > | vRules | ) |
| string | type of calendar recurrence rule |
setRrule Function to set the recurrence rule of a recursive event,todo or Journal
| vector | string type of calendar recurrence rule |
References ASSERTION, and vRecrRuleList.
Referenced by CRecurrence(), CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), and CMulticalendar::localBdayEventFromRemoteId().
| bool CRecurrence::setErule | ( | vector< string > | vRules | ) |
| string | type of calendar exception recurrence rule |
setErule Function to set the Exception recurrence rule of a recursive event,todo or Journal Although not supposed to be useful from calendar might be significant from sync point of view.
| vector | <string> type of calendar exception recurrence rule |
References ASSERTION, and vRecrRuleList.
Referenced by CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), and CMulticalendar::localBdayEventFromRemoteId().
| bool CRecurrence::setRDays | ( | vector< string > | vRecRuleList | ) |
| vector | type of calendar recurrence dates |
setRDays Function to set the Recursive days of a recursive event,todo or Journal Although not supposed to be useful from calendar might be significant from sync point of view.
| vector | type of calendar recurrence dates |
Referenced by CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), ICalConverter::importEventRecurrence(), and CMulticalendar::localBdayEventFromRemoteId().
| vector< string > CRecurrence::getRDays | ( | ) |
| none |
getRDays() Function to get the Recursive days of a recursive event,todo or Journal Although not supposed to be useful from calendar might be significant from sync point of view.
| none |
References vRecRuleList.
Referenced by CCalendar::addRecurrence(), generateInstanceTimes(), and CCalendar::modifyRecurrence().
| bool CRecurrence::setEDays | ( | vector< string > | vExceptionDateList | ) |
| vector | type of calendar exception recurrence dates |
Referenced by CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), ICalConverter::importEventRecurrence(), and CMulticalendar::localBdayEventFromRemoteId().
| vector< string > CRecurrence::getEDays | ( | ) |
| none |
References vExceptionDateList.
Referenced by CCalendar::addRecurrence(), generateInstanceTimes(), and CCalendar::modifyRecurrence().
| bool CRecurrence::setRecurId | ( | int | iRecurId | ) |
| int | recurrence id |
setRecurId Function to set the exception Recursive days of a recursive event,todo or Journal
| int | recurrence id |
Referenced by CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), ICalConverter::importEventRecurrence(), and CMulticalendar::localBdayEventFromRemoteId().
| int CRecurrence::getRecurId | ( | ) |
| none |
getRecurId Function to set the exception Recursive days of a recursive event,todo or Journal
| none |
References iRecurId.
Referenced by CCalendar::addRecurrence(), and CCalendar::modifyRecurrence().
| bool CRecurrence::setRtype | ( | int | iRType | ) |
setRtype
| : | int Type of recurrence . |
Referenced by CCalendar::getEvent(), CMulticalendar::getEventInList(), CCalendar::getEvents(), CComponent::getRecurrenceProperties(), ICalConverter::importEventRecurrence(), CMulticalendar::localBdayEventFromRemoteId(), and CComponent::setRtype().
| int CRecurrence::getRtype | ( | ) |
getRtype
| : | NONE. |
References iRType.
Referenced by CCalendar::addRecurrence(), CComponent::getRtype(), ICalConverter::importEventRecurrence(), and CCalendar::modifyRecurrence().
| vector< time_t > CRecurrence::generateInstanceTimes | ( | time_t | iViewBegin, | |
| time_t | iViewEnd, | |||
| time_t | iDateStart, | |||
| int | ieventSpan, | |||
| int | is_day, | |||
| string | sTzid | |||
| ) |
| iviewBegin | lower range of current view | |
| iviewEnd | higher range of current view | |
| ieventSpan | diff between date start and date end of original instance |
| viewBegin | lower range of current view | |
| viewEnd | higher range of current view | |
| int | iEventSpan diff between datestart and dateend of original instance |
References getEDays(), getErule(), getRDays(), CMulticalendar::getRecurrentTimes(), getRrule(), and CMulticalendar::MCInstance().
Referenced by CComponent::generateInstanceTimes().
| bool CRecurrence::checkInstances | ( | time_t | iViewBegin, | |
| time_t | iViewEnd, | |||
| time_t | iDateStart, | |||
| int | eventSpan, | |||
| int | is_day, | |||
| string | sTzid | |||
| ) |
| iviewBegin | lower range of current view | |
| iviewEnd | higher range of current view | |
| ieventSpan | diff between date start and date end of original instance |
| iviewBegin | lower range of current view | |
| iviewEnd | higher range of current view | |
| ieventSpan | diff between date start and date end of original instance |
References CMulticalendar::checkRecurrentTimes(), getRrule(), and CMulticalendar::MCInstance().
Referenced by CComponent::getInstanceNumber().
| CRecurrence & CRecurrence::operator= | ( | const CRecurrence & | right | ) |
overloaded assignment operator
References ASSERTION, iRecurId, iRType, vExceptionDateList, vRecrRuleList, and vRecRuleList.
| string CRecurrence::toString | ( | ) |
toString
References iRecurId, iRType, vExceptionDateList, vRecrRuleList, and vRecRuleList.
Referenced by CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), CComponent::toString(), and CBdayEvent::toString().
vector< CRecurrenceRule * > CRecurrence::vRecrRuleList [private] |
Vector recurrence rule
Referenced by CRecurrence(), getErule(), getRecurrenceRule(), getRrule(), operator=(), setErule(), setRecurrenceRule(), setRrule(), toString(), and ~CRecurrence().
vector< string > CRecurrence::vExceptionDateList [private] |
Exception date list
Referenced by CRecurrence(), getEDays(), operator=(), toString(), and ~CRecurrence().
vector< string > CRecurrence::vRecRuleList [private] |
Recurrence rule list
Referenced by CRecurrence(), getRDays(), operator=(), toString(), and ~CRecurrence().
int CRecurrence::iRType [private] |
recurrence type
Referenced by CRecurrence(), getRtype(), operator=(), and toString().
int CRecurrence::iRecurId [private] |
Recurrence ID
Referenced by CRecurrence(), getRecurId(), operator=(), and toString().
1.5.6