CTodo Class Reference

This class contains the details of Todo component. Inherited from CComponentDetails. More...

#include <CTodo.h>

Inheritance diagram for CTodo:

CComponentDetails CComponent

Public Member Functions

bool setGeo (string szGeo)
string getGeo ()
int getDue ()
bool setDue (int iDue)
int getCompleted ()
bool setCompleted (int iCompleted)
bool setPercentComplete (int iPercentComplete)
int getPercentComplete ()
int getPriority ()
bool setPriority (int iPriority)
 CTodo (CTodo &ref)
CTodooperator= (CTodo &right)
 CTodo ()
 CTodo (string szSummary, int iDateStart, int iStatus)
 CTodo (string sId, int iType, int iFlags, string szSummary, string szDescription, string szLocation, int iStatus, int iDateStart, int iDateEnd, int iLastModified, int iCreatedTime, int iDateStamp, COrganizer *pOrganizer, vector< CAttendee * >vAttendee, vector< string >vAttachements, int iSequence, int iUId, string szUrl, string szCategory, string szComments, string szContacts, string szRelated, string szResources, vector< CProperties * > vXProp, map< string, vector< CParameters * > > hashMap, string szGeo, int iDue, int iCompleted, int iPercentComplete, int iPriority)
 ~CTodo ()

Private Attributes

string szGeo
int iDue
int iCompleted
int iPercentComplete
int iPriority

Detailed Description

This class contains the details of Todo component. Inherited from CComponentDetails.

CTodo class


Constructor & Destructor Documentation

CTodo::CTodo ( CTodo ref  ) 

copy Constructor

CTodo::CTodo (  ) 

calTodo

Parameters:
none 
Returns:
None Default constructor

CTodo::CTodo ( string  szSummary,
int  iTodoDue,
int  iStatus 
)

CTodo Overloaded constructor for CTodo class

CTodo::CTodo ( string  sId,
int  iType,
int  iFlags,
string  szSummary,
string  szDescription,
string  szLocation,
int  iStatus,
int  iDateStart,
int  iDateEnd,
int  iLastModified,
int  iCreatedTime,
int  iDateStamp,
COrganizer pOrganizer,
vector< CAttendee * >  vAttendee,
vector< string >  vAttachements,
int  iSequence,
int  iUId,
string  szUrl,
string  szCategory,
string  szComments,
string  szContacts,
string  szRelated,
string  szResources,
vector< CProperties * >  vXProp,
map< string, vector< CParameters * > >  hashMap,
string  szGeo,
int  iDue,
int  iCompleted,
int  iPercentComplete,
int  iPriority 
)

CTodo parameterized constructor for CTodo.

CTodo::~CTodo (  ) 

~CTodo

Parameters:
none 
Returns:
none destructor


Member Function Documentation

bool CTodo::setGeo ( string  szGeo  ) 

Parameters:
string szGeo consisting folat variables (Latitude and Longitude)
Returns:
bool
This function will be used to set geo for a todo entry The geo is combination of latitude and longitude.ex: 120.98;45.64 returns true when geo is set correctly. returns false when geo is empty.

string CTodo::getGeo (  ) 

Parameters:
none 
Returns:
string geo value in form of string (Latitude;longitude)
This function will be used to extract geo for a todo entry The geo is combination of latitude and longitude.ex: 120.98;45.64 returns geo string

see setGeo().

int CTodo::getDue (  ) 

Parameters:
none 
Returns:
due time in int
This function will be used to due time for a todo returns due time

see setDue().

bool CTodo::setDue ( int  iDue  ) 

Parameters:
int due time
Returns:
bool
This function will be used to set due date for a todo entry returns true when due date is set correctly. returns false when due date is empty.

see getDue().

int CTodo::getCompleted (  ) 

Parameters:
none 
Returns:
completed in int
This function will be used to completed time for a todo returns completed time see setCompleted().

bool CTodo::setCompleted ( int  iCompleted  ) 

Parameters:
int completed time
Returns:
bool
This function will be used to set completed date for a todo entry

returns true when date is set correctly. returns false when date is empty.

see getCompleted().

bool CTodo::setPercentComplete ( int  iPercentComplete  ) 

Parameters:
integer percentage of todo completed
Returns:
bool This function will be used to set percentage of todo completed for a todo entry returns true when percent is set correctly.
see getPercentComplete().

int CTodo::getPercentComplete (  ) 

Parameters:
none 
Returns:
int percentage of todo completed. This function will be used to extract percent of todo completed for a todo entry which has been previously set using setPercentComplete().

int CTodo::getPriority (  ) 

Parameters:
none 
Returns:
int priority of todo . This function will be used to extract priority of todo which has been previously set using setPriority().

bool CTodo::setPriority ( int  iPriority  ) 

Parameters:
integer pripority
Returns:
bool
This function will be used to set priority of todo returns true when priority is set correctly.

CTodo & CTodo::operator= ( CTodo right  ) 

overloaded assignment operator


Field Documentation

string CTodo::szGeo [private]

Geo parameter

int CTodo::iDue [private]

Todo due

int CTodo::iCompleted [private]

Todo completed

int CTodo::iPercentComplete [private]

Todo percent complete

int CTodo::iPriority [private]

Todo priority


The documentation for this class was generated from the following files:
Generated on Tue Feb 24 16:21:34 2009 for calendar-backend by  doxygen 1.5.1