BCGSuite for MFC
CBCGPAppointmentProperty

Detailed Description

The CBCGPAppointmentProperty class is used in conjunction with the Planner control. It stores the common properties like CString, COleDateTime, COLORREF, BOOL. The number of types will be extended in the future, because the data is stored in underlined _variant_t object.

This class implements the interface defined by CBCGPAppointmentBaseProperty as well as the set of accessors to the underlined data.

When you construct a CBCGPAppointmentProperty object, you should decide first what type of data the property will hold, because Set methods will assert if you set a data of wrong type. For example, if you have created a CBCGPAppointmentProperty object with boolean type, you won't be able to call SetCOLORREF, because it sets a different type to the underlined data.

See also
CBCGPAppointmentBaseProperty, CBCGPPlannerManagerCtrl
+ Inheritance diagram for CBCGPAppointmentProperty:

Public Member Functions

 GetBOOLReturns the boolean data.
 
 GetCOLORREFReturns the color data.
 
 GetDateTimeReturns the COleDateTime data.
 
 GetDateTimeSpanReturns the COleDateTimeSpan data.
 
 GetStringReturns the string data.
 
 GetTypeReturns the property type.
 
 IsValidChecks the appointment validity.
 
 SerializeSerialize this object to the given stream.
 
 SetBOOLSets a boolean value to the property.
 
 SetCOLORREFSets a color value to the property.
 
 SetDateTimeSets the COleDateTime object to the underlined data.
 
 SetDateTimeSpanSets the COleDateTimeSpan object to the underlined data.
 
 SetStringSets a string to the underlined data.
 
- Public Member Functions inherited from CBCGPAppointmentBaseProperty
 operator!=Non-equal operator