![]() |
Murl Engine API
Version 2018.3
|
The factory object interface. More...
#include <murl_i_factory_object.h>
The factory object interface.
Classes derived from IFactoryObject can be registered to the corresponding factory registry or module registry.
ClassType | The derived class type. |
Classes | |
class | ClassInfo |
The class information object. More... | |
Public Types | |
typedef Array< const ClassInfo * > | ClassInfoArray |
Definition of an array of ClassInfo objects. More... | |
Public Member Functions | |
virtual | ~IFactoryObject () |
The destructor. More... | |
virtual const ClassInfo * | GetObjectClassInfo () const =0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
Static Public Member Functions | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< ClassType > *object) |
Reset an object instance's properties to their default values. More... | |
typedef Array<const ClassInfo*> Murl::IFactoryObject< ClassType >::ClassInfoArray |
Definition of an array of ClassInfo objects.
|
inlinevirtual |
The destructor.
|
pure virtual |
Get the object instance's class info, if present.
|
inlinestatic |
Get the class' property info struct.
|
inlinestatic |
Get the class' attribute info struct.
|
inlinestatic |
Reset an object instance's properties to their default values.
object | The object to reset. |