My Project
|
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. | |
IObject * | CloneObject (const char *name) const |
Clone an object. | |
void | CloneObject (const char *name, IObject *pobj) const |
const IObject * | GetObject (const char *name) const |
Get an object. | |
void | Finalize () |
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.