![]() |
ATLAS Offline Software
|
#include <AthenaPoolCnvTPExtension.h>
Public Member Functions | |
| AthenaPoolCnvTPExtension () | |
| virtual bool | registerExtendingCnv (AthenaConverterTLPExtension *cnv) |
| Register extending converter (that is, another converter that will extent this converter) and all his elemental converters. | |
| virtual bool | registerExtendingCnv (IConverter *cnv) |
| void | usingTPCnvForReading (TopLevelTPCnvBase &baseTLPcnv) |
| virtual std::unique_ptr< const Token > | writeObject (const std::string &, const std::string &) |
| Writes the extending persistent object created by this converter Called from the EXTENDED (principal) Athena converter Implemented only in EXTENDING Athena converters. | |
| virtual void | readObjectFromPool (const Token *) |
| Read the extending object. | |
| virtual AthenaConverterTLPExtension * | clone () |
| Clone this Athena Converter. | |
| virtual void | wasClonedFrom (AthenaConverterTLPExtension *) |
| Remember the original converter that this one was cloned from. | |
| virtual bool | needsCloning () const |
| Find out if this converter needs to be cloned Returns true if this converter was already registered once. | |
| virtual const std::string | name () const |
| Get name of this converter (anything that identifies it). | |
| virtual TopLevelTPCnvBase * | getTopLevelTPCnv ()=0 |
| returns the main top-level TP converter | |
| unsigned short | getTPCnvID () |
| Returns the ID of the main top-level TP converter. | |
| TopLevelTPCnvBase * | getTopLevelTPCnvForReading () |
| returns the current top-level TP converter. | |
| void | resetTPCnvForReading () |
| Reset to 0 the TL TP converter for reading. | |
| virtual void | readExtendingObjects (void *baseObj) |
| Read all component persistent objects. | |
| virtual void | deletePersistentObjects () |
| Delete persistent objects held by attached extending converters (used mainly in case of abort). | |
Protected Types | |
| typedef std::map< unsigned, AthenaConverterTLPExtension * > | extCnvMap_t |
| typedef std::map< TopLevelTPCnvBase *, extCnvMap_t * > | extCnvMapMap_t |
Protected Member Functions | |
| void | usingTPCnvForReading (void *cnv) |
Protected Attributes | |
| extCnvMap_t | m_extendingConverters |
| map of Athena converters extending this one | |
| extCnvMapMap_t | m_extCnvMapMap |
| TopLevelTPCnvBase * | m_TLCnvForReading |
| additional Top Level TP converter used only for reading tells which converter is used in case of reading old versions (as different versions have different converters) NOT owned byt his class | |
| std::vector< AthenaConverterTLPExtension * > | m_clonedExtendingCnvs |
| list of duplicated converters to delete at the end held in the original converter | |
Definition at line 14 of file AthenaPoolCnvTPExtension.h.
|
protectedinherited |
Definition at line 135 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
Definition at line 140 of file AthenaConverterTLPExtension.h.
|
inline |
Definition at line 17 of file AthenaPoolCnvTPExtension.h.
|
inlinevirtualinherited |
Returns the cloned instance
Reimplemented in InDetTrackCnv, MuonCaloEnergiesCnv, MuonMeasurementsCnv, and MVFVxContainerCnv.
Definition at line 72 of file AthenaConverterTLPExtension.h.
|
virtualinherited |
Delete persistent objects held by attached extending converters (used mainly in case of abort).
Definition at line 151 of file AthenaConverterTLPExtension.cxx.
|
pure virtualinherited |
returns the main top-level TP converter
Implemented in InDetTrackCnv, MuonCaloEnergiesCnv, MuonMeasurementsCnv, MVFVxContainerCnv, SegmentCollectionCnv, T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >, TrackCollectionCnv, and VxContainerCnv.
|
inlineinherited |
returns the current top-level TP converter.
This converter may be different from the main one in case of schema evolution
Definition at line 102 of file AthenaConverterTLPExtension.h.
|
inherited |
Returns the ID of the main top-level TP converter.
Definition at line 23 of file AthenaConverterTLPExtension.cxx.
|
inlinevirtualinherited |
Get name of this converter (anything that identifies it).
Reimplemented in T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, and T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >.
Definition at line 87 of file AthenaConverterTLPExtension.h.
|
inlinevirtualinherited |
Find out if this converter needs to be cloned Returns true if this converter was already registered once.
Reimplemented in T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, and T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >.
Definition at line 82 of file AthenaConverterTLPExtension.h.
|
virtualinherited |
Read all component persistent objects.
| baseObj | [IN] pointer to the principal persistent object holding the list of tokens for all component persistent objects to read |
Definition at line 99 of file AthenaConverterTLPExtension.cxx.
|
inlinevirtualinherited |
Read the extending object.
| token | [IN] Token of the object to read |
Reimplemented in InDetTrackCnv, MuonCaloEnergiesCnv, MuonMeasurementsCnv, MVFVxContainerCnv, T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, and T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >.
Definition at line 67 of file AthenaConverterTLPExtension.h.
|
inlinevirtual |
Register extending converter (that is, another converter that will extent this converter) and all his elemental converters.
| cnv | [IN] pointer to extending Athena converter |
Reimplemented from AthenaConverterTLPExtension.
Definition at line 19 of file AthenaPoolCnvTPExtension.h.
|
inlinevirtual |
Definition at line 23 of file AthenaPoolCnvTPExtension.h.
|
inlineinherited |
Reset to 0 the TL TP converter for reading.
Prevents the use of the previous TP converter if none was set before reading the next object Called automatically after reading an object.
Definition at line 113 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
Definition at line 59 of file AthenaConverterTLPExtension.cxx.
|
inline |
Definition at line 31 of file AthenaPoolCnvTPExtension.h.
|
inlinevirtualinherited |
Remember the original converter that this one was cloned from.
| converter | [IN] the original converter |
Reimplemented in T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, and T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >.
Definition at line 77 of file AthenaConverterTLPExtension.h.
|
inlinevirtualinherited |
Writes the extending persistent object created by this converter Called from the EXTENDED (principal) Athena converter Implemented only in EXTENDING Athena converters.
| key | [in] StoreGet object key (in APR used to determine storage container placement) Returns Token for the written object |
Reimplemented in T_AthenaPoolExtendingCnv< TRANS, PERS >, T_AthenaPoolExtendingCnv< InDetTrack, InDetTrack_PERS >, T_AthenaPoolExtendingCnv< MVFVxContainer, MVFVxContainer_PERS >, T_AthenaPoolExtendingCnv< TPCnv::MuonCaloEnergies, MuonCaloEnergies_PERS >, and T_AthenaPoolExtendingCnv< TPCnv::MuonMeasurements, MuonMeasurements_PERS >.
Definition at line 62 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
list of duplicated converters to delete at the end held in the original converter
Definition at line 153 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
Definition at line 143 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
map of Athena converters extending this one
Definition at line 138 of file AthenaConverterTLPExtension.h.
|
protectedinherited |
additional Top Level TP converter used only for reading tells which converter is used in case of reading old versions (as different versions have different converters) NOT owned byt his class
Definition at line 149 of file AthenaConverterTLPExtension.h.