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

CP_ObjectDescriptions Class Reference

A class to manage a list of CP_ObjectDescriptions that are used to create objects in a CP_M_Persistant state.

Inheritance diagram for CP_ObjectDescriptions:

CP_NoCopy List of all members.

Public Member Functions

 CP_ObjectDescriptions ()
virtual ~CP_ObjectDescriptions ()
UInt32 GetCount ()
void Append (CP_ObjectDescription &inObjectDescription)
CP_ObjectDescription GetNthItem (UInt32 inIndex)

Protected Attributes

CP_ObjectDescription_Array fObjectDescriptions

Constructor & Destructor Documentation

CP_ObjectDescriptions::CP_ObjectDescriptions  ) 
 

Constructor.

CP_ObjectDescriptions::~CP_ObjectDescriptions  )  [virtual]
 

Destructor.


Member Function Documentation

UInt32 CP_ObjectDescriptions::GetCount  ) 
 

Returns the number of CP_ObjectDescription objects in our list.

Returns:
UInt32 The number of objects in our list.

void CP_ObjectDescriptions::Append CP_ObjectDescription inObjectDescription  ) 
 

Adds a CP_ObjectDescription to the end of the list

Parameters:
inObjectDescription CP_ObjectDescription being added to the list of object descriptions.
Returns:
void

CP_ObjectDescription CP_ObjectDescriptions::GetNthItem UInt32  inIndex  ) 
 

Returns the CP_ObjectDescription at the passed in index. If the index is not in range for this list, an out of range exception is thrown.

Parameters:
inIndex Index of the item to retrieve. 1 based.
Returns:
CP_ObjectDescription The object description we want to get.


Member Data Documentation

CP_ObjectDescription_Array CP_ObjectDescriptions::fObjectDescriptions [protected]
 


The documentation for this class was generated from the following files:
Generated on Tue Sep 20 20:21:53 2005 for CPLAT_MacOS by  doxygen 1.4.0