#include <CEvent.h>
Public Member Functions | |
CEvent () | |
CEvent (string szSummary, string szDescription, string szLocation, int iDateStart, int iDateEnd) | |
~CEvent () | |
bool | setGeo (string szGeo) |
string | getGeo () |
string | getTransparency () |
bool | setTransparency (string szTransparency) |
int | getPriority () |
bool | setPriority (int iPriority) |
CEvent (CEvent &ref) | |
const CEvent & | operator= (const CEvent &right) |
string | toString () |
Private Attributes | |
string | szGeo |
string | szTransparency |
int | iPriority |
CEvent class
CEvent::CEvent | ( | ) |
this is the default constructor for CEvent class where all variables are being initialised
None |
References CComponent::setType().
CEvent::CEvent | ( | string | szSummary, | |
string | szDescription, | |||
string | szLocation, | |||
int | iDateStart, | |||
int | iDateEnd | |||
) |
headers used in this file CEvent This is the overloaded parameterized constructor CEvent class where minimum set of members will be intialized.
References CComponent::setType().
CEvent::~CEvent | ( | ) |
this is the destructor for CEvent class where all memory is being deallocated or freed
~CEvent Default destructor
CEvent::CEvent | ( | CEvent & | ref | ) |
copy constructor for Cevent class
References iPriority, szGeo, and szTransparency.
bool CEvent::setGeo | ( | string | szGeo | ) |
: | string >> used to set geographical parameters(latitude,longitude) of entry created |
setGeo Function to set the value for Geo
szGeo | Geography value |
string CEvent::getGeo | ( | ) |
:None |
getGeo Function to get the Geo
none |
References szGeo.
Referenced by CCalendar::addEventCompDetails(), and CCalendar::modifyEvent().
string CEvent::getTransparency | ( | ) |
:None |
getTransparency Function to get the transparency for an entry
None |
References szTransparency.
Referenced by CCalendar::addEventCompDetails(), and CCalendar::modifyEvent().
bool CEvent::setTransparency | ( | string | szTransparency | ) |
: | transp(int) >> used to set transparency of entry valid values can be TRANSPARENT/OPAQUE |
setTransparency
transp | Transparency of entry |
int CEvent::getPriority | ( | ) |
:None |
getPriority Function to get the Todo priority.
none |
References iPriority.
Referenced by CCalendar::addEventCompDetails(), and CCalendar::modifyEvent().
bool CEvent::setPriority | ( | int | iPriority | ) |
: | int iPriority used to set priority of entry created |
setPriority
integer | pripority |
overloaded assignment operator
References iPriority, CComponentDetails::operator=(), szGeo, and szTransparency.
string CEvent::toString | ( | ) |
toString
Reimplemented from CComponentDetails.
References CComponent::getAlarm(), CComponent::getAllDay(), CComponent::getCalendarId(), CComponent::getCreatedTime(), CComponent::getDateEnd(), CComponent::getDateStart(), CComponent::getDescription(), CComponent::getFlags(), CComponent::getGUid(), CComponent::getId(), CComponent::getLastModified(), CComponent::getLocation(), CComponent::getRecurrence(), CComponent::getStatus(), CComponent::getSummary(), CComponent::getType(), CComponent::getUntil(), iPriority, CComponent::pAlarm, szGeo, szTransparency, CRecurrence::toString(), and CAlarm::toString().
string CEvent::szGeo [private] |
Geo parameter
Referenced by CEvent(), getGeo(), operator=(), and toString().
string CEvent::szTransparency [private] |
Transparency
Referenced by CEvent(), getTransparency(), operator=(), and toString().
int CEvent::iPriority [private] |
Priority
Referenced by CEvent(), getPriority(), operator=(), and toString().