BALL
1.4.79
|
#include <BALL/CONCEPT/objectCreator.h>
Public Member Functions | |
Constructors | |
ObjectCreator () | |
Destructors | |
virtual | ~ObjectCreator () |
virtual void | clear () |
Accessors: inspectors and mutators | |
virtual void | initPersistenceManager (TextPersistenceManager &pm) |
virtual Composite * | convertObject (PersistentObject &po) |
ObjectCreator class. The class ObjectCreator is a base class for converting PersistentObject objects into Composite objects. It defines methods for initialization and conversion that must be overriden by the derived class. This class is used by the class Server to convert incoming PersistentObject objects to Composite objects.
Definition at line 37 of file objectCreator.h.
BALL::ObjectCreator::ObjectCreator | ( | ) |
Default Constructor. Construct new objectCreator. The state of this server is: TextPersistenceManager not initialized.
|
virtual |
Destructor.
|
virtual |
Explicit default initialization. Empty for further purpose.
Reimplemented in BALL::MoleculeObjectCreator.
|
virtual |
Convert persistent objects. Override this method to convert PersistentObject objects to Composite objects. See TextPersistenceManager for information on how to convert PersistentObject objects into other objects.
po | a reference to a PersistentObject to be converted |
Reimplemented in BALL::MoleculeObjectCreator.
|
virtual |
Initialize the persistence manager. Initialize the TextPersistenceManager of this objectCreator. Override this method to initialize the persistence manager for specified objects. See TextPersistenceManager for information on how and why to register PersistentObject classes.
pm | the TextPersistenceManager to be initialized |
Reimplemented in BALL::MoleculeObjectCreator.