#include <ObjectFactory.h>
Static Public Methods | |
IManagedObject * | loadNode (IManagedObject *inParent, int inIndex, IObjectEventHandler *inEventHandler) |
IManagedObject * | loadNode (void *inNode, IObjectManager *inManager, IObjectEventHandler *inEventHandler) |
The ObjectFactory provides services for creating an object when its type is unknown. It will dynamically check for the data node's type and create and initialize the appropriate IManagedObject. Objects returned by the ObjectFactory should be deallocated with a delete by the caller.
|
Loads any data node. Quite usefull when you found a datanode and you have no clue what it is
|
|
Loads the child of a IManagedObject. Usefull when the type of the IManagedObject or the type of its child is unknown - for example, when traversing the entire database
|