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

CP_PersistManager Class Reference

Singleton class to manage CP_M_Persist object.

List of all members.

Public Member Functions

 CP_PersistManager ()
virtual ~CP_PersistManager ()
CP_M_PersistCreate (SInt16 inResourceID, UInt32 inResourceType, CP_View *inSuperview=NULL, bool inDocumentWindow=false)
CP_M_PersistCreate (CP_XMLDocument &inXMLDocument)
CP_M_PersistCreateObject (const CP_String &inClassName)
CP_String FindClassName (const UInt32 inControlKind) const
void RegisterClass (const CP_String &inClassName, CreateCallback inCreatorFunction)
void RegisterControlKind (const UInt32 inControlKind, const CP_String &inClassNameString)

Static Public Member Functions

static CP_PersistManagerInstance ()

Protected Attributes

CP_PersistCreator_MapfPersistCreators
CP_PersistControlKind_MapfPersistCreatorsControlKind

Static Protected Attributes

static CP_PersistManagerfsInstance = NULL

Private Member Functions

 CP_PersistManager (const CP_PersistManager &)
CP_PersistManageroperator= (const CP_PersistManager &)


Constructor & Destructor Documentation

CP_PersistManager::CP_PersistManager  ) 
 

Constructor.

CP_PersistManager::~CP_PersistManager  )  [virtual]
 

Destructor.

CP_PersistManager::CP_PersistManager const CP_PersistManager  )  [private]
 


Member Function Documentation

CP_PersistManager * CP_PersistManager::Instance  )  [static]
 

CP_M_Persist * CP_PersistManager::Create SInt16  inResourceID,
UInt32  inResourceType,
CP_View inSuperview = NULL,
bool  inDocumentWindow = false
 

CP_M_Persist * CP_PersistManager::Create CP_XMLDocument inXMLDocument  ) 
 

CP_M_Persist * CP_PersistManager::CreateObject const CP_String inClassName  ) 
 

CP_String CP_PersistManager::FindClassName const UInt32  inControlKind  )  const
 

void CP_PersistManager::RegisterClass const CP_String inClassName,
CreateCallback  inCreatorFunction
 

void CP_PersistManager::RegisterControlKind const UInt32  inControlKind,
const CP_String inClassNameString
 

CP_PersistManager& CP_PersistManager::operator= const CP_PersistManager  )  [private]
 


Member Data Documentation

CPLAT_Begin_Namespace_CPLAT CP_PersistManager * CP_PersistManager::fsInstance = NULL [static, protected]
 

CP_PersistCreator_Map* CP_PersistManager::fPersistCreators [protected]
 

CP_PersistControlKind_Map* CP_PersistManager::fPersistCreatorsControlKind [protected]
 


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