SYNOPSIS

#include <persist.h>

Classes

class Registration

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

Public Types

typedef std::map< String,

NewBaseObjectFunction > StringFunctionMap"

Static Public Member Functions

static void add (const char *name, NewBaseObjectFunction construction)

This adds a new construction function to the type manager. static void remove (const char *name)

And this one removes a type from the managers lists. static BaseObject * createInstanceOf (const char *name)

This function creates a new object of the required type and returns a pointer to it.

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.

Author:

Daniel Silverstone Type manager for persistence engine.

Member Typedef Documentation

typedef std::map<\fBString\fP,\fBNewBaseObjectFunction\fP> \fBost::TypeManager::StringFunctionMap\fP

Member Function Documentation

static void ost::TypeManager::add (const char *name, \fBNewBaseObjectFunction\fPconstruction)\fC [static]\fP

This adds a new construction function to the type manager.

static \fBBaseObject\fP* ost::TypeManager::createInstanceOf (const char *name)\fC [static]\fP

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

static void ost::TypeManager::remove (const char *name)\fC [static]\fP

And this one removes a type from the managers lists.

Author

Generated automatically by Doxygen for GNU CommonC++ from the source code.