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)
string toString ()

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

header files CProperties Default constructor for CProperties

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

References valueType.

CProperties::CProperties ( CProperties ref  ) 

Copy Constructor

CProperties copy constructor

References szPropName, and valueType.

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

overloaded assignment operator

References szPropName, and valueType.

bool CProperties::setPropName ( string  szPropName  ) 

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

setPropName()

Referenced by ICalConverter::getXProperty(), CComponentDetails::retrieveParameterDetails(), and CComponentDetails::retrieveXPropertyDetails().

string CProperties::getPropName (  ) 

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

getPropname()

References szPropName.

Referenced by CComponentDetails::retrieveParameterDetails(), and CComponentDetails::retrieveXPropertyDetails().

bool CProperties::setPropValue ( PropType  valueType  ) 

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

setPropValue()

Referenced by ICalConverter::getXProperty(), CComponentDetails::retrieveParameterDetails(), and CComponentDetails::retrieveXPropertyDetails().

PropType CProperties::getPropValue (  ) 

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

getPropValue()

References valueType.

Referenced by ICalConverter::toLocal().

int CProperties::getDataType ( string  szProp  ) 

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

Referenced by CComponentDetails::retrieveParameterDetails(), and CComponentDetails::retrieveXPropertyDetails().

string CProperties::toString (  ) 

toString

References szPropName, and valueType.


Field Documentation

string CProperties::szPropName [private]

prop name

Referenced by CProperties(), getPropName(), operator=(), and toString().

PropType CProperties::valueType [private]

value Type

Referenced by CProperties(), getPropValue(), operator=(), and toString().


The documentation for this class was generated from the following files:

Generated on Tue Jul 27 14:17:50 2010 for calendar-backend by  doxygen 1.5.6