#include <moleculeObjectCreator.h>
Inheritance diagram for MoleculeObjectCreator:
Public Member Functions | |
Constructors | |
MoleculeObjectCreator () throw () | |
Default Constructor. | |
Destructors | |
virtual | ~MoleculeObjectCreator () throw () |
Destructor. | |
virtual void | clear () throw () |
Explicit default initialization. | |
Accessors: inspectors and mutators | |
virtual void | initPersistenceManager (TextPersistenceManager &pm) throw () |
Initializes the TextPersistenceManager of this moleculeObjectCreator. | |
virtual Composite * | convertObject (PersistentObject &po) throw () |
Converts persistent objects. |
The class MoleculeObjectCreator is a class for converting PersistentObject objects that represent molecular structures into Composite objects. Objects that do not represent molecular structures will not be converted. All necessary initialization and registration of molecular structure patterns will be done in the method initPersistenceManager. The conversion will be executed in the method convertObject. This class is used by the class Server to convert incoming PersistentObject objects to Composite objects.
|
Default Constructor.
|
|
Destructor.
|
|
Explicit default initialization. Calls ObjectCreator::clear. Reimplemented from ObjectCreator. |
|
Converts persistent objects.
If po is an object that represents a molecular structure (an Atom, Protein or System) it will be converted into a Composite object and returned. If it is none of the above
Reimplemented from ObjectCreator. |
|
Initializes the TextPersistenceManager of this moleculeObjectCreator. Registers all necessary molecular structures available in BALL. See TextPersistenceManager for information on how and why to register PersistentObject classes.
Reimplemented from ObjectCreator. |