Functions | |
BaseObject * | BaseContext::NewObject (const BaseObject::ClassDescription &_classDescription, char *_ObjectName=0L) |
Faktory Method to create a new Object in the context. All object members should be inited to default, then use BaseObject's Set methods in editable mode to modify them. You must pass a valid Class descriptor and an _ObjectName, or nothing, in which case a name will be computed according to the class. If an object with the same name exists, then a new name is computed. get the final name with BaseObject::GetName(); This method is only compiled in editable mode, in non-editable, Serialize_In() should construct everything. | |
void | BaseContext::DestroyObject (BaseObject *_objectToDelete) |
In editable mode, it is possible to destroy an object from the context base: You got to use this method, not "delete". | |
void | BaseContext::DestroyAllObjects () |
Really destroy all object from the context. It should result a clean context like it it was just constructed empty. | |
void | BaseContext::Resources_SetLinkModeToAll (bool _isLink) |
All File Resources used by objects in the context will be set as binaries Linked within the context, or not according to parameter. | |
void | BaseContext::DestroyAllIndependantObjects (BaseObject *_pObjectWhichAllOtherShouldDependOn) |
Remove all objects that are not refered directly or indirectly by the object passed. | |
void | BaseContext::CloneClassesAndObjects (BaseContext *_pContextToModify) |
give to _ContextToModify the same shape as this. It means, the same classes are first registered to it, and then the same objects are cloned into it. | |
void | ClassNode::CloseAllObjects () |
Declare all objects as if each were used with BaseObject::Close(). This can be used to force a re-creation of the whole context. |
|
give to _ContextToModify the same shape as this. It means, the same classes are first registered to it, and then the same objects are cloned into it.
|
|
Declare all objects as if each were used with BaseObject::Close(). This can be used to force a re-creation of the whole context.
|
|
Remove all objects that are not refered directly or indirectly by the object passed.
|
|
Really destroy all object from the context. It should result a clean context like it it was just constructed empty.
|
|
In editable mode, it is possible to destroy an object from the context base: You got to use this method, not "delete".
|
|
Faktory Method to create a new Object in the context. All object members should be inited to default, then use BaseObject's Set methods in editable mode to modify them. You must pass a valid Class descriptor and an _ObjectName, or nothing, in which case a name will be computed according to the class. If an object with the same name exists, then a new name is computed. get the final name with BaseObject::GetName(); This method is only compiled in editable mode, in non-editable, Serialize_In() should construct everything.
|
|
All File Resources used by objects in the context will be set as binaries Linked within the context, or not according to parameter.
|
/\/\ 4 N k ! N D _______ _ __ ___ _____ ___ _ _ ____ ___________ __//___ /________ |/ / ___________\_______/ \ / _ _ \/ _ / _ / _/_/____/ _ __ / / / / / / / \ \/ / / \ \ / \\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\ \________/_ ___ __ l____\ /elD! http://www.m4nkind.com \____/