CProperties Class Reference

This class contains the API's to get/set the parameters for the standard properties of event/todo/journal. More...

#include <CProperties.h>


Public Member Functions

 CProperties ()
const CPropertiesoperator= (const CProperties &right)
 CProperties (CProperties &)
 ~CProperties ()
bool setPropName (string szPropName)
string getPropName ()
bool setPropValue (PropType valueType)
PropType getPropValue ()
int getDataType (string szProp)

Private Attributes

string szPropName
PropType valueType


Detailed Description

This class contains the API's to get/set the parameters for the standard properties of event/todo/journal.

CProperties class


Constructor & Destructor Documentation

CProperties::CProperties (  ) 

This is the defult constructor for CProperties class

since it is union it is suficient if we initialize the biggest value

CProperties::CProperties ( CProperties  ) 

Copy Constructor

CProperties::~CProperties (  ) 

This is the defult destructor for CProperties class


Member Function Documentation

const CProperties & CProperties::operator= ( const CProperties right  ) 

Parameters:
Constant reference to CProperties
Returns:
Reference to CProperties
Overloaded assignment operator for the class

bool CProperties::setPropName ( string  szPropName  ) 

Parameters:
szPropName string
Returns:
bool
This function is used to set the property name.

string CProperties::getPropName (  ) 

Returns:
string
This function is used to return the property name.

bool CProperties::setPropValue ( PropType  valueType  ) 

Parameters:
valueType PropType
Returns:
bool
This function is used to set the property value.

PropType CProperties::getPropValue (  ) 

Returns:
PropType
This function is used to return the property value.

int CProperties::getDataType ( string  szProp  ) 

Parameters:
szPropParam string
Returns:
int
This function returns the Type of the the given property (INTEGER/STRING/BOOL)


Field Documentation

string CProperties::szPropName [private]

prop name

PropType CProperties::valueType [private]

value Type


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