#include <CComponent.h>
Public Member Functions | |
CComponent () | |
CComponent (CComponent &) | |
CComponent (string description) | |
CComponent (string summary, time_t tododue, int status) | |
CComponent (string summary, string description, string location, time_t dateStart, time_t dateEnd) | |
CComponent (string szuid, string szDescription, time_t stDateStart) | |
vector< CRecurrenceRule * > | retrieveRecurreceRuleObject () |
const CComponent & | operator= (const CComponent &right) |
CComponent (string id, int type, int flags, string summary, string description, string location, int status, time_t dateStart, time_t dateEnd, time_t lastModified, time_t iCreatedTime) | |
bool | setId (string sId) |
string | getId () |
bool | setType (int num) |
int | getType () |
bool | setFlags (int iflag) |
int | getFlags () |
bool | setSummary (string szSummary) |
string | getSummary () |
bool | setDescription (string strDescription) |
string | getDescription () |
bool | setLocation (string szLocation) |
string | getLocation () |
bool | setStatus (int iStatus) |
int | getStatus () |
bool | setDateStart (time_t dateStart) |
time_t | getDateStart () |
bool | setDateEnd (time_t dateEnd) |
time_t | getDateEnd () |
bool | setLastModified (time_t lastModified) |
bool | setRecurrence (CRecurrence *ptrRecur) |
CRecurrence * | getRecurrence () |
time_t | getLastModified () |
bool | setUntil (time_t iuntil) |
time_t | getUntil () |
bool | setGUid (string szuid) |
string | getGUid () |
bool | setRtype (int irtype) |
int | getRtype () |
bool | setAlarm (CAlarm *uAlarm) |
CAlarm * | getAlarm () |
int | getAllDay () |
bool | setAllDay (int iAllDay) |
vector< time_t > | generateInstanceTimes (time_t viewBegin, time_t viewEnd) |
vector< time_t > | getInstanceTimes (time_t viewBegin, time_t viewEnd) |
int | getInstanceNumber (time_t viewBegin, time_t viewEnd) |
int | getDuration () |
bool | getRecurrenceProperties () |
bool | getAlarmProperties () |
virtual | ~CComponent () |
void | setCreatedTime (time_t iCreatedTime) |
time_t | getCreatedTime () |
void | removeAlarm () |
void | removeRecurrence () |
string | getTzid () |
void | setTzid (string sZone) |
time_t | getTzOffset (void) |
void | setTzOffset (time_t) |
string | toString () |
vector< string > | extractSubStrings (string SourceString, string byField) |
void | updateUntilInDB (time_t until, int &pErrorCode) |
Private Attributes | |
string | sId |
int | iType |
int | iFlags |
int | iStatus |
time_t | iDateStart |
time_t | iDateEnd |
time_t | iLastModified |
time_t | iCreatedTime |
time_t | iuntil |
int | iAllDay |
string | szSummary |
string | szDescription |
string | szLocation |
string | szuid |
CRecurrence * | pRecurrence |
CAlarm * | pAlarm |
string | sTzid |
time_t | tzOffset |
time_t | iStDate |
time_t | iEndDate |
vector< time_t > | rTimes |
CComponent class
CComponent::CComponent | ( | ) |
CComponent() This is the defult constructor for CComponent class
CComponent () Default CComponent constructor
References pAlarm, and pRecurrence.
CComponent::CComponent | ( | CComponent & | ref | ) |
Copy Constructor
Component() CComponent copy constructor
References iAllDay, iCreatedTime, iDateEnd, iDateStart, iFlags, iLastModified, iStatus, iType, iuntil, pAlarm, pRecurrence, setAlarm(), setRecurrence(), sId, sTzid, szDescription, szLocation, szSummary, and tzOffset.
CComponent::CComponent | ( | string | szDescription | ) |
Overloaded Constructor
CComponent::CComponent | ( | string | szSummary, | |
time_t | stTododue, | |||
int | iStatus | |||
) |
Overloaded constructor
CComponent Overloaded Parametrized constructor
CComponent::CComponent | ( | string | szSummary, | |
string | szDescription, | |||
string | szLocation, | |||
time_t | iDateStart, | |||
time_t | iDateEnd | |||
) |
Overloaded Constructor
CComponent Overloaded Parametrized with minimal parameters for UI
CComponent::CComponent | ( | string | szuid, | |
string | szSummary, | |||
time_t | iDateStart | |||
) |
overloaded Constructor
CComponent Overloaded Parametrized constructor for CBdayEvent
CComponent::CComponent | ( | string | sId, | |
int | iType, | |||
int | iFlags, | |||
string | szSummary, | |||
string | szDescription, | |||
string | szLocation, | |||
int | iStatus, | |||
time_t | iDateStart, | |||
time_t | iDateEnd, | |||
time_t | iLastModified, | |||
time_t | iCreatedTime | |||
) |
id | entryid | |
type | entry type | |
calendarId | Calendar ID | |
flags | Flags to identify secondary table | |
summary | Summary for event / todo / journal | |
description | Entry description | |
status | Entry status | |
dateStart | Start date for event | |
dateEnd | End date for event | |
lastModified | Last modified date for event |
CComponent Overloaded Parametrized constructor
CComponent::~CComponent | ( | ) | [virtual] |
Destructor for CComponent class.
References pAlarm, and pRecurrence.
vector< CRecurrenceRule * > CComponent::retrieveRecurreceRuleObject | ( | ) |
NONE |
retrieveRecurrenceRuleObject
NONE |
References CRecurrence::getRecurrenceRule(), and pRecurrence.
const CComponent & CComponent::operator= | ( | const CComponent & | right | ) |
Constant | reference to CComponent |
overloaded assignment operator
References iAllDay, iDateEnd, iDateStart, iFlags, iStatus, iType, pAlarm, pRecurrence, setAlarm(), setRecurrence(), sId, sTzid, szDescription, szLocation, szSummary, and tzOffset.
Referenced by CComponentDetails::operator=().
bool CComponent::setId | ( | string | sId | ) |
: | string sId Id of the string |
setId
: | string sId |
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getJournal(), CCalendar::getJournals(), CMulticalendar::getLatestComponent(), getRecurrenceProperties(), CCalendar::getRecursiveEventsInRange(), CMulticalendar::getTodaysAllDay(), CCalendar::getTodo(), CCalendar::getTodos(), and CMulticalendar::popEventDetails().
string CComponent::getId | ( | ) |
:None |
:None |
References sId.
Referenced by CCalendar::addBirthDay(), CCalendar::addCacheEntries(), CCalendar::addEvent(), CCalendar::addJournal(), CCalendar::addTodo(), CCalendar::destroyExistingValidAlarms(), CMulticalendar::enableAutomaticDeletion(), generateInstanceTimes(), getAlarmProperties(), CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), getInstanceNumber(), CMulticalendar::getLatestComponent(), CComponentDetails::getParameter(), CComponentDetails::getPropertyValues(), getRecurrenceProperties(), CCalendar::manageCookie(), CCalendar::modifyBirthDay(), CCalendar::modifyEvent(), CCalendar::modifyJournal(), CCalendar::modifyTodo(), CCalendar::registerAlarmForVisibleCalendar(), CComponentDetails::retrieveAttendeeDetails(), CComponentDetails::retrieveOrganizerDetails(), CComponentDetails::retrieveParameterDetails(), CComponentDetails::retrieveXPropertyDetails(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setType | ( | int | type | ) |
: | int num used to set type of entry |
: | num(int) > > used to set type of entry |
References iType.
Referenced by CEvent::CEvent(), CJournal::CJournal(), CTodo::CTodo(), CCalendar::getComponents(), CCalendar::getTodo(), CCalendar::getTodos(), ICalConverter::localToIcalVcal(), and ICalConverter::toLocal().
int CComponent::getType | ( | ) |
:None |
:None |
References iType.
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getRecursiveEventsInRange(), ICalConverter::localToIcalVcal(), CCalendar::manageCookie(), CCalendar::modifyEvent(), CCalendar::modifyJournal(), CCalendar::modifyTodo(), CMulticalendar::popEventDetails(), CCalendar::registerAlarmForVisibleCalendar(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setFlags | ( | int | flags | ) |
int | iflag to indicate recurrence or alarm |
: | calendarId(int) > > Used to set the flags. |
References iFlags.
Referenced by CCalendar::getComponents(), and CCalendar::setNextAlarm().
int CComponent::getFlags | ( | ) |
:None |
:None |
References iFlags.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getRecursiveEventsInRange(), CCalendar::getTodo(), CCalendar::getTodos(), CMulticalendar::popEventDetails(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setSummary | ( | string | summary | ) |
: | string szSummary it is the summary of the entry |
: | string > > it is the summary of the entry |
References szSummary.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getJournal(), CCalendar::getJournals(), CMulticalendar::getLatestComponent(), CCalendar::getRecursiveEventsInRange(), CMulticalendar::getTodaysAllDay(), CCalendar::getTodo(), CCalendar::getTodos(), CMulticalendar::popEventDetails(), and CBdayEvent::setFirstName().
string CComponent::getSummary | ( | ) |
: | None |
: | None |
References szSummary.
Referenced by CCalendar::checkDuplicateEntry(), CBdayEvent::getFirstName(), CMulticalendar::getLatestComponent(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), ICalConverter::replaceWithEncodedString(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setDescription | ( | string | description | ) |
: | string szDescripton it is the description of the entry |
: | string > > it is the description of the entry |
References szDescription.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CCalendar::getJournal(), CCalendar::getJournals(), CCalendar::getRecursiveEventsInRange(), CCalendar::getTodo(), CCalendar::getTodos(), and CMulticalendar::popEventDetails().
string CComponent::getDescription | ( | ) |
: | None |
getDescription ()
: | None |
References szDescription.
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), ICalConverter::replaceWithEncodedString(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setLocation | ( | string | location | ) |
: | string szLocation it is the location of the entry |
: | string > > it is the location of the entry |
References szLocation.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CCalendar::getJournal(), CCalendar::getJournals(), CCalendar::getRecursiveEventsInRange(), CCalendar::getTodo(), CCalendar::getTodos(), and CMulticalendar::popEventDetails().
string CComponent::getLocation | ( | ) |
: | None |
References szLocation.
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), ICalConverter::replaceWithEncodedString(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setStatus | ( | int | status | ) |
: | int iStatus Used to set the status for entry. |
: | Used to set the status for entry. |
References iStatus.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), and CMulticalendar::getLatestComponent().
int CComponent::getStatus | ( | ) |
:None |
:None |
References iStatus.
Referenced by CCalendar::addTodoCompDetails(), CMulticalendar::getPrevNextComponent(), CCalendar::modifyTodo(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setDateStart | ( | time_t | dateStart | ) |
: | time_t Used to set the start date for event. |
: | Used to set the start date for event. |
References iDateStart.
Referenced by CMulticalendar::enableAutomaticDeletion(), CCalendar::getComponents(), CMulticalendar::getLatestComponent(), ICalConverter::importEventDateStartAndDateEnd(), ICalConverter::importTodoDue(), CBdayEvent::setBirthDate(), and ICalConverter::toLocal().
time_t CComponent::getDateStart | ( | ) |
:None |
:None |
References iDateStart.
Referenced by CCalendar::addEvent(), CCalendar::checkDuplicateEntry(), CCalendar::checkIfMultiDayEvent(), CMulticalendar::enableAutomaticDeletion(), CBdayEvent::getBirthDate(), CTodo::getDue(), CMulticalendar::getLatestComponent(), CMulticalendar::getPrevNextComponent(), ICalConverter::importEventDateEnd(), ICalConverter::importEventDateStartAndDateEnd(), ICalConverter::localToIcalVcal(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), CCalendar::setNextAlarm(), ICalConverter::toLocal(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setDateEnd | ( | time_t | dateEnd | ) |
: | time_t Used to set the date end for entry. |
: | Used to set the date end for entry. |
References iDateEnd.
Referenced by CMulticalendar::enableAutomaticDeletion(), CCalendar::getComponents(), ICalConverter::importEventDateEnd(), and ICalConverter::importEventDateStartAndDateEnd().
time_t CComponent::getDateEnd | ( | ) |
:None |
:None |
References iDateEnd.
Referenced by CCalendar::addEvent(), CCalendar::checkIfMultiDayEvent(), CMulticalendar::enableAutomaticDeletion(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setLastModified | ( | time_t | lastModified | ) |
: | time_t Used to set the last modified value |
: | Used to set the last modified value |
References iLastModified.
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CCalendar::getRecursiveEventsInRange(), and CCalendar::modifyJournal().
bool CComponent::setRecurrence | ( | CRecurrence * | uRecurrence | ) |
:CRecurrence | * pTrRecur pointer to recurrence object |
:CRecurrence | * |
References ASSERTION, and pRecurrence.
Referenced by CComponent(), getRecurrenceProperties(), ICalConverter::importEventRecurrence(), and operator=().
CRecurrence * CComponent::getRecurrence | ( | ) |
:None |
:None |
References pRecurrence.
Referenced by CCalendar::addBirthDay(), CCalendar::addCacheEntries(), CCalendar::addEvent(), CCalendar::addTodo(), ICalConverter::localToIcalVcal(), CCalendar::manageCookie(), CCalendar::modifyBirthDay(), CCalendar::modifyEvent(), CCalendar::modifyTodo(), CCalendar::setNextAlarm(), ICalConverter::toLocal(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), toString(), and CBdayEvent::toString().
time_t CComponent::getLastModified | ( | ) |
:None |
:None |
References iLastModified.
Referenced by CCalendar::checkDuplicateEntry(), CCalendar::modifyJournal(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setUntil | ( | time_t | iuntil | ) |
: | time_t time in UTC (integer) format. |
setUntil
: | int time in UTC (integer) format. |
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), and ICalConverter::importEventRecurrence().
time_t CComponent::getUntil | ( | ) |
: | NONE. |
getUntil
: | NONE. |
References iuntil.
Referenced by CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setGUid | ( | string | szuid | ) |
: | string globally unique ID for component. |
setGUid
: | string globally unique ID for component. |
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CCalendar::getJournal(), CCalendar::getJournals(), CCalendar::getRecursiveEventsInRange(), CCalendar::getTodo(), CCalendar::getTodos(), CMulticalendar::popEventDetails(), and CBdayEvent::setEBookUid().
string CComponent::getGUid | ( | ) |
: | NONE |
getGUid
: | NONE |
References szuid.
Referenced by CBdayEvent::getEBookUid(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setRtype | ( | int | irtype | ) |
: | NONE. |
setRtype
: | int Type of recurrence . |
References pRecurrence, and CRecurrence::setRtype().
int CComponent::getRtype | ( | ) |
: | NONE. |
getRtype
: | NONE. |
References CRecurrence::getRtype(), and pRecurrence.
bool CComponent::setAlarm | ( | CAlarm * | uAlarm | ) |
CAlarm* | uAlarm pointer to CAlarm object |
setAlarm(Calarm *)
CAlarm* | pointer to CAlarm object |
References ASSERTION, and pAlarm.
Referenced by CComponent(), getAlarmProperties(), CCalendar::getTodo(), CCalendar::getTodos(), and operator=().
CAlarm * CComponent::getAlarm | ( | ) |
NONE |
NONE |
References pAlarm.
Referenced by CCalendar::addEvent(), CCalendar::addTodo(), CCalendar::destroyExistingValidAlarms(), CCalendar::manageCookie(), CCalendar::modifyBirthDay(), CCalendar::modifyEvent(), CCalendar::modifyTodo(), CCalendar::registerAlarmForVisibleCalendar(), CCalendar::setNextAlarm(), ICalConverter::toLocal(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), toString(), and CBdayEvent::toString().
int CComponent::getAllDay | ( | ) |
NONE |
NONE |
References iAllDay.
Referenced by generateInstanceTimes(), getInstanceNumber(), CMulticalendar::getLatestComponent(), ICalConverter::importEventDateEnd(), ICalConverter::localToIcalVcal(), CCalendar::manageCookie(), CCalendar::registerAlarmForVisibleCalendar(), CCalendar::setNextAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
bool CComponent::setAllDay | ( | int | iAllDay | ) |
int | (0 not all day ,1 allday event ) |
int | (0 not all day ,1 allday event ) |
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getLatestComponent(), CMulticalendar::getTodaysAllDay(), and ICalConverter::importEventDateStartAndDateEnd().
vector< time_t > CComponent::generateInstanceTimes | ( | time_t | viewBegin, | |
time_t | viewEnd | |||
) |
viewBegin | lower range of current view | |
viewEnd | higher range of current view |
viewBegin | lower range of current view | |
viewEnd | higher range of current view |
References CRecurrence::generateInstanceTimes(), getAllDay(), getId(), iDateEnd, iDateStart, iEndDate, iStDate, pRecurrence, and rTimes.
Referenced by CCalendar::addCacheEntries(), and getInstanceTimes().
vector< time_t > CComponent::getInstanceTimes | ( | time_t | viewBegin, | |
time_t | viewEnd | |||
) |
viewBegin | lower range of current view | |
viewEnd | higher range of current view |
References generateInstanceTimes().
int CComponent::getInstanceNumber | ( | time_t | viewBegin, | |
time_t | viewEnd | |||
) |
viewBegin | lower range of current view viewEnd higher range of current view |
References CRecurrence::checkInstances(), getAllDay(), getId(), iDateEnd, iDateStart, and pRecurrence.
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), and CCalendar::getRecursiveEventsInRange().
int CComponent::getDuration | ( | ) |
NONE |
getDurationFromAlarm()
NONE |
References CAlarm::getDuration(), and pAlarm.
bool CComponent::getRecurrenceProperties | ( | ) |
ptrEntry | Component Entry template , can be event*,todo*,journal* or CComponent* |
ptrEntry | Component Entry template , can be event*,todo*,journal* or CComponent* |
References ASSERTION, extractSubStrings(), getId(), CCalendarDB::getRecords(), CCalendarDB::Instance(), CRecurrence::setEDays(), CRecurrence::setErule(), setId(), CRecurrence::setRDays(), CRecurrence::setRecurId(), setRecurrence(), CRecurrence::setRrule(), and CRecurrence::setRtype().
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getRecursiveEventsInRange(), and CMulticalendar::popEventDetails().
bool CComponent::getAlarmProperties | ( | ) |
template | can be event todo or Journal pointer |
template | can be event todo or Journal pointer |
References ASSERTION, getId(), CCalendarDB::getRecords(), CCalendarDB::Instance(), pAlarm, setAlarm(), CAlarm::setAttach(), and CAlarm::setCookie().
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CCalendar::getRecursiveEventsInRange(), and CMulticalendar::popEventDetails().
void CComponent::setCreatedTime | ( | time_t | iCreatedTime | ) |
time_t iCreatedTime time in utc |
getLocation ()
: | None |
int | time in utc |
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), and CCalendar::getRecursiveEventsInRange().
time_t CComponent::getCreatedTime | ( | ) |
none |
getCreatedTime
none |
References iCreatedTime.
Referenced by ICalConverter::localToIcalVcal(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), and CBdayEvent::toString().
void CComponent::removeAlarm | ( | ) |
void CComponent::removeRecurrence | ( | ) |
remove recurrence compoennt
References pRecurrence.
time_t CComponent::getTzOffset | ( | void | ) |
get Method to retrieve Tzoffset
void CComponent::setTzOffset | ( | time_t | offset | ) |
function to set the tzoffset
string CComponent::toString | ( | ) |
to string is used to print the class members
Reimplemented in CBdayEvent, CComponentDetails, CEvent, CJournal, and CTodo.
References getAlarm(), getRecurrence(), iAllDay, iCreatedTime, iDateEnd, iDateStart, iFlags, iLastModified, iStatus, iType, iuntil, pAlarm, sId, szDescription, szLocation, szSummary, szuid, CRecurrence::toString(), and CAlarm::toString().
Referenced by CCalendar::getAllEventsTodos(), CCalendar::getComponents(), CMulticalendar::getComponentsAllCalendars(), CMulticalendar::getComponentsWithLimitedData(), CCalendar::getRecursiveEventsInRange(), CMulticalendar::getTodaysAllDay(), and CMulticalendar::popEventDetails().
vector< string > CComponent::extractSubStrings | ( | string | sub, | |
string | by | |||
) |
Function to parse substring based on a delimiter
extractSubStrings
string | which needs to be parsed |
References ASSERTION.
Referenced by getRecurrenceProperties().
void CComponent::updateUntilInDB | ( | time_t | until, | |
int & | pErrorCode | |||
) |
string | sId Id of the component | |
time_t | until value | |
int& | reference to error code |
string | sId Id of the component | |
time_t | until value | |
int& | reference to error code |
References ASSERTION, CCalendarDB::execSQL(), CCalendarDB::Instance(), sId, and CCalendarDB::sqliteErrorMapper().
string CComponent::sId [private] |
extractSubStrings
string | which needs to be parsed |
Referenced by CComponent(), getId(), operator=(), toString(), and updateUntilInDB().
int CComponent::iType [private] |
Component Type
Referenced by CComponent(), getType(), operator=(), setType(), and toString().
int CComponent::iFlags [private] |
Flags to identify the presence of recurrence/attendees etc.,
Referenced by CComponent(), getFlags(), operator=(), setFlags(), and toString().
int CComponent::iStatus [private] |
Status
Referenced by CComponent(), getStatus(), operator=(), setStatus(), and toString().
time_t CComponent::iDateStart [private] |
Start date for event
Referenced by CComponent(), generateInstanceTimes(), getDateStart(), getInstanceNumber(), operator=(), setDateStart(), and toString().
time_t CComponent::iDateEnd [private] |
End date for event
Referenced by CComponent(), generateInstanceTimes(), getDateEnd(), getInstanceNumber(), operator=(), setDateEnd(), and toString().
time_t CComponent::iLastModified [private] |
Last modified date
Referenced by CComponent(), getLastModified(), setLastModified(), and toString().
time_t CComponent::iCreatedTime [private] |
Component created time
Referenced by CComponent(), getCreatedTime(), and toString().
time_t CComponent::iuntil [private] |
Recurrence until date
Referenced by CComponent(), getUntil(), and toString().
int CComponent::iAllDay [private] |
All day event
Referenced by CComponent(), getAllDay(), operator=(), and toString().
string CComponent::szSummary [private] |
Event summary
Referenced by CComponent(), getSummary(), operator=(), setSummary(), and toString().
string CComponent::szDescription [private] |
Event description
Referenced by CComponent(), getDescription(), operator=(), setDescription(), and toString().
string CComponent::szLocation [private] |
Event location
Referenced by CComponent(), getLocation(), operator=(), setLocation(), and toString().
string CComponent::szuid [private] |
Event Uid
Referenced by getGUid(), and toString().
CRecurrence* CComponent::pRecurrence [private] |
CRecurrence class containment
Referenced by CComponent(), generateInstanceTimes(), getInstanceNumber(), getRecurrence(), getRtype(), operator=(), removeRecurrence(), retrieveRecurreceRuleObject(), setRecurrence(), setRtype(), and ~CComponent().
CAlarm* CComponent::pAlarm [private] |
CAlarm class containment
Referenced by CComponent(), getAlarm(), getAlarmProperties(), getDuration(), operator=(), removeAlarm(), setAlarm(), CTodo::toString(), CJournal::toString(), CEvent::toString(), CComponentDetails::toString(), toString(), CBdayEvent::toString(), and ~CComponent().
time_t CComponent::iStDate [private] |
Start date of the interval of calculated recurrences
Referenced by generateInstanceTimes().
time_t CComponent::iEndDate [private] |
End date of the interval of calculated recurrences
Referenced by generateInstanceTimes().
vector< time_t > CComponent::rTimes [private] |
already calculated recurrences
Referenced by generateInstanceTimes().