| ost::TypeManager(3) | Library Functions Manual | ost::TypeManager(3) |
NAME¶
ost::TypeManager - This class manages the types for generation of the persistent objects.SYNOPSIS¶
#include <persist.h>Classes¶
class Registration
Public Types¶
typedef std::map< String,
Static Public Member Functions¶
static void add (const char *name, NewBaseObjectFunction construction)
Detailed Description¶
This class manages the types for generation of the persistent objects.Daniel Silverstone Type manager for
persistence engine.
Member Typedef Documentation¶
typedef std::map<String,NewBaseObjectFunction> ost::TypeManager::StringFunctionMap¶
Member Function Documentation¶
static void ost::TypeManager::add (const char *name, NewBaseObjectFunctionconstruction) [static]¶
This adds a new construction function to the type manager.static BaseObject* ost::TypeManager::createInstanceOf (const 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 typestatic void ost::TypeManager::remove (const char *name) [static]¶
And this one removes a type from the managers lists.Author¶
Generated automatically by Doxygen for GNU CommonC++ from the source code.| Sat Jun 23 2012 | GNU CommonC++ |