#include <persist.h>
Public Types | |
| typedef std::map< std::string, NewBaseObjectFunction > | StringFunctionMap |
Public Member Functions | |
| CCXX_MEMBER_EXPORT (static void) add(const char *name | |
| This adds a new construction function to the type manager. | |
| CCXX_MEMBER_EXPORT (static void) remove(const char *name) | |
| And this one removes a type from the managers lists. | |
| CCXX_EXPORT (static BaseObject *) createInstanceOf(const char *name) | |
| This function creates a new object of the required type and returns a pointer to it. | |
Public Attributes | |
| NewBaseObjectFunction | construction |
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.
|
|
|
|
1.3.3