My Project
Public Member Functions | List of all members
ParaEngine::CObjectManager Class Reference

Public Member Functions

void SetObject (const char *name, IObject *pobj)
 Set the object with the given name. More...
 
bool IsExist (const char *name) const
 Test if an object exists.
 
IObjectCloneObject (const char *name) const
 Clone an object.
 
void CloneObject (const char *name, IObject *pobj) const
 
const IObjectGetObject (const char *name) const
 Get an object.
 
void Finalize ()
 

Member Function Documentation

§ SetObject()

void CObjectManager::SetObject ( const char *  name,
IObject pobj 
)

Set the object with the given name.

If the name already exists, the old object with the given will be released and the new object will be copied to the object manager. Otherwist, it will copy the input object to the object manager.


The documentation for this class was generated from the following files: