#include <persist.h>
Public Types | |
typedef map<string,NewBaseObjectFunction> | StringFunctionMap |
Static Public Methods | |
void | Add (const char* name, NewBaseObjectFunction construction) |
This adds a new construction function to the type manager. | |
void | Remove (const char* name) |
And this one removes a type from the managers lists. | |
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 adds a new construction function to the type manager.
|
|
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.
|