Pandora
Pandora source code navigator
|
PandoraObjectFactory class. More...
#include "PandoraObjectFactories.h"
Public Types | |
typedef PARAMETERS | Parameters |
typedef OBJECT | Object |
Public Member Functions | |
Parameters * | NewParameters () const |
Create new parameters instance on the heap (memory-management to be controlled by user) | |
StatusCode | Read (Parameters ¶meters, FileReader &fileReader) const |
Read any additional (derived class only) object parameters from file using the specified file reader. | |
StatusCode | Write (const Object *const pObject, FileWriter &fileWriter) const |
Persist any additional (derived class only) object parameters using the specified file writer. | |
Private Member Functions | |
StatusCode | Create (const Parameters ¶meters, const Object *&pObject) const |
Create an object with the given parameters. | |
PandoraObjectFactory class.
Definition at line 21 of file PandoraObjectFactories.h.
typedef OBJECT pandora::PandoraObjectFactory< PARAMETERS, OBJECT >::Object |
Definition at line 25 of file PandoraObjectFactories.h.
typedef PARAMETERS pandora::PandoraObjectFactory< PARAMETERS, OBJECT >::Parameters |
Definition at line 24 of file PandoraObjectFactories.h.
|
privatevirtual |
Create an object with the given parameters.
parameters | the parameters to pass in constructor |
pObject | to receive the address of the object created |
Implements pandora::ObjectFactory< PARAMETERS, OBJECT >.
Definition at line 51 of file PandoraObjectFactories.cc.
|
virtual |
Create new parameters instance on the heap (memory-management to be controlled by user)
Implements pandora::ObjectFactory< PARAMETERS, OBJECT >.
Definition at line 27 of file PandoraObjectFactories.cc.
|
virtual |
Read any additional (derived class only) object parameters from file using the specified file reader.
parameters | the parameters to pass in constructor |
fileReader | the file reader, used to extract any additional parameters from file |
Implements pandora::ObjectFactory< PARAMETERS, OBJECT >.
Definition at line 35 of file PandoraObjectFactories.cc.
|
virtual |
Persist any additional (derived class only) object parameters using the specified file writer.
pObject | the address of the object to persist |
fileWriter | the file writer |
Implements pandora::ObjectFactory< PARAMETERS, OBJECT >.
Definition at line 43 of file PandoraObjectFactories.cc.