Pandora
Pandora source code navigator
|
Object creation helper class. More...
#include "ObjectCreation.h"
Public Types | |
typedef PARAMETERS | Parameters |
typedef METADATA | Metadata |
typedef OBJECT | Object |
Static Public Member Functions | |
static pandora::StatusCode | Create (const pandora::Pandora &pandora, const Parameters ¶meters, const pandora::ObjectFactory< Parameters, Object > &factory=pandora::PandoraObjectFactory< Parameters, Object >()) |
Create a new object from a user factory. | |
static pandora::StatusCode | Create (const pandora::Algorithm &algorithm, const Parameters ¶meters, const Object *&pObject, const pandora::ObjectFactory< Parameters, Object > &factory=pandora::PandoraObjectFactory< Parameters, Object >()) |
Create a new object from a user factory, receiving the address of the object created. | |
static pandora::StatusCode | AlterMetadata (const pandora::Algorithm &algorithm, const Object *const pObject, const Metadata &metadata) |
Alter the metadata information stored in an object. | |
Object creation helper class.
PARAMETERS | the type of object parameters |
METADATA | the type of object metadata |
OBJECT | the type of object |
Definition at line 35 of file ObjectCreation.h.
typedef METADATA object_creation::ObjectCreationHelper< PARAMETERS, METADATA, OBJECT >::Metadata |
Definition at line 39 of file ObjectCreation.h.
typedef OBJECT object_creation::ObjectCreationHelper< PARAMETERS, METADATA, OBJECT >::Object |
Definition at line 40 of file ObjectCreation.h.
typedef PARAMETERS object_creation::ObjectCreationHelper< PARAMETERS, METADATA, OBJECT >::Parameters |
Definition at line 38 of file ObjectCreation.h.
|
static |
Alter the metadata information stored in an object.
algorithm | the algorithm calling this function |
pObject | address of the object to modify |
metaData | the metadata (only populated metadata fields will be propagated to the object) |
Definition at line 43 of file ObjectCreation.cc.
|
static |
Create a new object from a user factory, receiving the address of the object created.
algorithm | the algorithm calling this function |
parameters | the object parameters |
pObject | to receive the address of the object created |
factory | the factory that performs the object allocation |
|
static |
Create a new object from a user factory.
pandora | the pandora instance to create the new object |
parameters | the object parameters |
factory | the factory that performs the object allocation |