class TypeManager

Type manager for persistence engine. More...

Full nameost::TypeManager
Definition#include <persist.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Static Methods


Detailed Description

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.

Registration (class)

Registration

This manages a registration to the typemanager - attempting to remove problems with the optimisers

void  Add (const char* name, NewBaseObjectFunction construction)

Add

[static]

This adds a new construction function to the type manager

void  Remove (const char* name)

Remove

[static]

And this one removes a type from the managers lists

BaseObject*  CreateInstanceOf (const char* name)

CreateInstanceOf

[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

typedef std::map StringFunctionMap

StringFunctionMap