Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_ObjectDescription Class Reference

A class that holds a CP_M_Persist object and a CP_DataValueList that contains one or more objects that hold a name and data value used in the initialization of the stored CP_M_Persist object.

List of all members.

Public Member Functions

 CP_ObjectDescription ()
 CP_ObjectDescription (CP_M_Persist *inPersistObject, CP_DataValueList &inDataValues)
 CP_ObjectDescription (const CP_ObjectDescription &inObjectDescription)
virtual ~CP_ObjectDescription ()
CP_M_PersistGetObject ()
CP_DataValueList GetDataValues ()
CP_ObjectDescriptionoperator= (const CP_ObjectDescription &inObjectDescription)
bool IsValid ()

Protected Attributes

CP_M_PersistfPersistObject
CP_DataValueList fDataValues


Constructor & Destructor Documentation

CPLAT_Begin_Namespace_CPLAT CP_ObjectDescription::CP_ObjectDescription  ) 
 

Constructor.

CP_ObjectDescription::CP_ObjectDescription CP_M_Persist inPersistObject,
CP_DataValueList inDataValues
 

Constructor.

Parameters:
inPersistObject The CP_M_Persist object that we contain data to initialize for.
inDataValue List of keys / data values used to construct the stored CP_M_Persist object.

CP_ObjectDescription::CP_ObjectDescription const CP_ObjectDescription inObjectDescription  ) 
 

Copy onstructor.

Parameters:
inObjectDescription CP_ObjectDescription object to copy the data fields from.

CP_ObjectDescription::~CP_ObjectDescription  )  [virtual]
 

Destructor.


Member Function Documentation

CP_M_Persist* CP_ObjectDescription::GetObject  ) 
 

Returns the CP_M_Persist object that was created.

Returns:
CP_M_Persist * Returns the CP_M_Persist object.

CP_DataValueList CP_ObjectDescription::GetDataValues  ) 
 

Returns a CP_DataValueList that contains the data needed to finish initializing the CP_M_Persist object.

Returns:
CP_DataValueList List of names/data values pairs.

CP_ObjectDescription & CP_ObjectDescription::operator= const CP_ObjectDescription inObjectDescription  ) 
 

Assignment operator.

Parameters:
inObjectDescription CP_ObjectDescription to copy the data fields from.
Returns:
CP_ObjectDescription Returns a reference to ourselves.

bool CP_ObjectDescription::IsValid  ) 
 

Returns true if this object holds a constructed CP_M_Persist object. This does not mean the object has been initialized yet, just created.

Returns:
bool Returns true if the CP_M_Persist object has been created.


Member Data Documentation

CP_M_Persist* CP_ObjectDescription::fPersistObject [protected]
 

CP_DataValueList CP_ObjectDescription::fDataValues [protected]
 

The CP_M_Persist object we hold.


The documentation for this class was generated from the following files:
Generated on Sat Sep 17 20:01:54 2005 for CPLAT by  doxygen 1.4.0