#include <persist.h>
Public Types | |
typedef std::map< std::string, NewBaseObjectFunction > | StringFunctionMap |
Public Methods | |
CCXX_MEMBER_EXPORT (static void) Add(const char *name, NewBaseObjectFunction const ruction) | |
This adds a new construction function to the type manager. More... | |
CCXX_MEMBER_EXPORT (static void) Remove(const char *name) | |
And this one removes a type from the managers lists. More... | |
CCXX_EXPORT (static BaseObject *) CreateInstanceOf(const char *name) | |
This function creates a new object of the required type and returns a pointer to it. More... |
Its data structures are managed automatically by the system. They are implicitly filled by the constructors who declare classes to the system.
|
|
|
This function creates a new object of the required type and returns a pointer to it. NULL is returned if we couldn't find the type |
|
And this one removes a type from the managers lists.
|
|
This adds a new construction function to the type manager.
|