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

CP_DocNodeDecordersManager Class Reference

Singleton class to manage CP_M_Persist object.

Inheritance diagram for CP_DocNodeDecordersManager:

CP_NoCopy List of all members.

Public Member Functions

Constructor / Destructor
 CP_DocNodeDecordersManager ()
 Constructor.
virtual ~CP_DocNodeDecordersManager ()
 Destructor.
Decoders
void RegisterDecoder (const CP_String &inClassName, DecodeCallback inDecoderFunction)
DecodeCallback FindDecoder (const CP_String &inClassName)

Static Public Member Functions

Instance
static CP_DocNodeDecordersManagerInstance ()

Protected Attributes

CP_Decoders_MapfDecoders

Static Protected Attributes

static CP_DocNodeDecordersManagerfsInstance = NULL

Constructor & Destructor Documentation

CP_DocNodeDecordersManager::CP_DocNodeDecordersManager  ) 
 

Constructor.

Exceptions:
none 

CP_DocNodeDecordersManager::~CP_DocNodeDecordersManager  )  [virtual]
 

Destructor.

Exceptions:
none 


Member Function Documentation

CP_DocNodeDecordersManager * CP_DocNodeDecordersManager::Instance  )  [static]
 

Returns the single instance of this class.

Exceptions:
none 
Returns:
CP_DocNodeDecordersManager * Returns the single instance of this class.

void CP_DocNodeDecordersManager::RegisterDecoder const CP_String inClassName,
DecodeCallback  inDecoderFunction
 

Registers a decoding function for the passed in class name.

Parameters:
inClassName Name of the class to decode.
inDecoderFunction Function called to decode the data.
Exceptions:
none 
Returns:
void

DecodeCallback CP_DocNodeDecordersManager::FindDecoder const CP_String inClassName  ) 
 

Find and return a decoder for the passed in class name.

Parameters:
inClassName Name of the class to find a decoder for.
Exceptions:
CP_ThrowRuntime Throws a runtime exception if the decoder was not found.
Returns:
DecodeCallback The decoder for the passed in class name.


Member Data Documentation

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

CP_Decoders_Map* CP_DocNodeDecordersManager::fDecoders [protected]
 

Single instance of this class.


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