Type manager for persistance engine. More...
#include <persist.h>
Data Structures | |
class | registration |
This manages a registration to the typemanager - attempting to remove problems with the optimisers. More... | |
Public Types | |
typedef std::map< std::string, NewPersistObjectFunction > | StringFunctionMap |
Static Public Member Functions | |
static void | add (char *name, NewPersistObjectFunction construction) |
This adds a new construction function to the type manager. | |
static PersistObject * | createInstanceOf (char *name) |
This function creates a new object of the required type and returns a pointer to it. | |
static void | remove (char *name) |
And this one removes a type from the managers lists. |
Type manager for persistance engine.
This class manages the types for generation of the persistent objects. Its data structures are managed automatically by the system. They are implicitly filled by the constructors who declare classes to the system.
Definition at line 64 of file persist.h.
static PersistObject* ucc::TypeManager::createInstanceOf | ( | char * | name | ) | [static] |
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