![]() |
ATLAS Offline Software
|
#include <TrackParticleContainerCnv_tlp1.h>
Public Types | |
| typedef TrackParticleContainerCnv_p1::Trans_t | TRANS |
| typedef Rec::TrackParticleContainer_tlp1 | PERS |
| typedef Gaudi::PluginService::Factory< ITPCnvBase *()> | Factory |
Public Member Functions | |
| TrackParticleContainerCnv_tlp1 () | |
| virtual | ~TrackParticleContainerCnv_tlp1 () |
| virtual void | setPStorage (Rec::TrackParticleContainer_tlp1 *storage) |
| A stub for a method that should be provided by the converter creator. | |
| virtual TPCnvTokenList_p1 * | getTokenListVar () |
| Return the list of tokens to the objects extending the object owned by this converter. | |
| TRANS * | createTransient (MsgStream &log) |
| Create transient representation of the persistent object known to this converter. | |
| TRANS * | createTransientWithKey (const std::string &key, MsgStream &log) |
| Create transient representation of the persistent object known to this converter. | |
| virtual Rec::TrackParticleContainer_tlp1 * | createPersistent (const TRANS *transObj, MsgStream &log) |
| Create persistent representation of transObj. | |
| virtual Rec::TrackParticleContainer_tlp1 * | createPersistentWithKey (const TRANS *transObj, const std::string &key, MsgStream &log) |
| Create persistent representation of transObj. | |
| void | addMainTPConverter () |
| Add the main TP converter to the internal list - should be called from user-defined constructor. | |
| void | setMainCnvPStorage (STORAGE *storage) |
| Set the persistent storage space for the main TP converter. | |
| virtual unsigned short | getConverterID () override |
| Returns this converter's ID. | |
| virtual const std::type_info & | transientTInfo () const override |
| return C++ type id of the transient class this converter is for | |
| virtual const std::type_info & | persistentTInfo () const override |
| return C++ type id of the persistent class this converter is for | |
| virtual void | persToTransUntyped (const void *pers, void *trans, MsgStream &log) override |
| Convert persistent object representation to transient. | |
| virtual void | transToPersUntyped (const void *trans, void *pers, MsgStream &log) override |
| Convert transient object representation to persistent. | |
| virtual void | persToTransWithKeyUntyped (const void *pers, void *trans, const std::string &, MsgStream &log) override |
| Convert persistent object representation to transient. | |
| virtual void | transToPersWithKeyUntyped (const void *trans, void *pers, const std::string &, MsgStream &log) override |
| Convert transient object representation to persistent. | |
| virtual void | persToTrans (const PERS *pers, TRANS *trans, MsgStream &msg) |
| virtual void | transToPers (const TRANS *trans, PERS *pers, MsgStream &msg) |
| virtual bool | hasTLPersObject () const override |
Returns true if the converter has a persistent object. | |
| virtual void | createTLPersObject () override |
| Create persistent object - the converter keeps it. | |
| virtual void | deleteTLPersObject () override |
| Delete the persistent object owned by the converter. | |
| Rec::TrackParticleContainer_tlp1 * | getTLPersObject () |
| const Rec::TrackParticleContainer_tlp1 * | getTLPersObject () const |
| Rec::TrackParticleContainer_tlp1 * | releaseTLPersObject () |
| @release the persistent object from this converter | |
| virtual void * | getTLPersObjectAsVoid () override |
| virtual const void * | getTLPersObjectAsVoid () const override |
| virtual void | clearTLPersObject () override |
| Discard the persistent object. | |
| virtual void | setTLPersObject (void *persObj) override |
| Take ownership of the persistent object. | |
| virtual TPCnvTokenList_p1 * | getTokenListVarFrom (void *persObj) override |
| Return the list of tokens to the objects extending the object NOT owned by this converter. | |
| virtual void | addTPConverter (ITPConverter *cnv) |
| Add a TP converter to this top level converter. | |
| virtual void | addTPConverterForReading (ITPConverter *cnv) |
| Add a TP converter to this top level converter but only for reading. | |
| virtual void | addExtTPConverterForReading (ITPConverter *cnv) |
| add extending TP converter to this top level converter - to the list consulted when reading only. | |
| virtual void | addTPConvertersTo (TopLevelTPCnvBase *dest) |
| copy all extending converters from this top level converter to "dest" top level converter | |
| virtual void | addTPConvertersForReadingTo (TopLevelTPCnvBase *dest) |
| copy all extending converters from this top level converter to "dest" top level converter - for reading | |
| ITPConverter * | converterForType (const std::type_info &info) const |
| Find and return a TP converter for a given C++ type info. | |
| ITPConverter * | converterForRef (const TPObjRef &ref) const |
| Find and return a TP converter for persistent type referenced by ref. | |
Protected Types | |
| typedef std::map< unsigned, ITPConverter * > | convIdMap_t |
Protected Member Functions | |
| void | rememberConverter (TopLevelTPCnvBase *cnv) |
| Remember that elemental TP converters from the given top-level converter are already registered. | |
| bool | hasConvertersFrom (TopLevelTPCnvBase *cnv) |
| Check if TP converters from a given top-level converter were already registered in this converter. | |
Private Member Functions | |
| virtual void | addTPConverterForWriting (ITPConverter *cnv) |
| add TP converter to the list of converters consulted when writing - internal method. | |
Definition at line 106 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
Definition at line 174 of file TopLevelTPCnvBase.h.
|
inherited |
Definition at line 26 of file ITPCnvBase.h.
|
inherited |
Definition at line 38 of file TopLevelTPConverter.h.
|
inherited |
Definition at line 37 of file TopLevelTPConverter.h.
| TrackParticleContainerCnv_tlp1::TrackParticleContainerCnv_tlp1 | ( | ) |
Definition at line 8 of file TrackParticleContainerCnv_tlp1.cxx.
|
inlinevirtual |
Definition at line 112 of file TrackParticleContainerCnv_tlp1.h.
|
virtualinherited |
add extending TP converter to this top level converter - to the list consulted when reading only.
| cnv | [IN] the TP converter to be added |
Definition at line 60 of file TopLevelTPCnvBase.cxx.
|
inlineinherited |
Add the main TP converter to the internal list - should be called from user-defined constructor.
Definition at line 146 of file TopLevelTPConverter.h.
|
virtualinherited |
Add a TP converter to this top level converter.
| cnv | [IN] the TP converter to be added |
Definition at line 42 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
Add a TP converter to this top level converter but only for reading.
Old converters that read schema evolved objects should be added only for reading.
| cnv | [IN] the TP converter to be added |
Definition at line 48 of file TopLevelTPCnvBase.cxx.
|
privatevirtualinherited |
add TP converter to the list of converters consulted when writing - internal method.
| cnv | [IN] the TP converter to be added |
Definition at line 54 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
copy all extending converters from this top level converter to "dest" top level converter - for reading
| dest | [IN] destination converter which will receive all elemental TP converters that this one has |
Definition at line 74 of file TopLevelTPCnvBase.cxx.
|
virtualinherited |
copy all extending converters from this top level converter to "dest" top level converter
copy all TP converters to another topLevel conveter
| dest | [IN] destination converter which will receive all elemental TP converters that this one has |
Definition at line 67 of file TopLevelTPCnvBase.cxx.
|
inlineoverridevirtualinherited |
Discard the persistent object.
Definition at line 99 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
Find and return a TP converter for persistent type referenced by ref.
| ref | [IN] TP reference of a persistent object |
Definition at line 89 of file TopLevelTPCnvBase.h.
|
inlineinherited |
Find and return a TP converter for a given C++ type info.
| info | [IN] C++ type info reference to the transient type |
Definition at line 80 of file TopLevelTPCnvBase.h.
|
inlinevirtualinherited |
Create persistent representation of transObj.
| transObj | [IN] pointer to the transient representation |
| log | [IN] message stream for output |
Definition at line 110 of file TopLevelTPConverter.h.
|
inlinevirtualinherited |
Create persistent representation of transObj.
| transObj | [IN] pointer to the transient representation |
| key | [IN] SG key of the object being converted. |
| log | [IN] message stream for output |
Definition at line 129 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Create persistent object - the converter keeps it.
Definition at line 57 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
Create transient representation of the persistent object known to this converter.
NOTE: If the persistent object is owned by the converter, it will be deleted
| log | [IN] message stream for output |
Definition at line 62 of file TopLevelTPConverter.h.
|
inlineinherited |
Create transient representation of the persistent object known to this converter.
NOTE: If the persistent object is owned by the converter, it will be deleted
| key | [IN] SG key of the object being converted |
| log | [IN] message stream for output |
Definition at line 78 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Delete the persistent object owned by the converter.
Definition at line 64 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
Returns this converter's ID.
By default it is 0. Should be overwritten in extending converters
Implements TopLevelTPCnvBase.
Definition at line 159 of file TopLevelTPConverter.h.
|
inlineinherited |
Definition at line 72 of file TopLevelTPCnvBaseP.h.
|
inlineinherited |
Definition at line 77 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
void* Definition at line 94 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
void* Definition at line 89 of file TopLevelTPCnvBaseP.h.
|
inlinevirtual |
Return the list of tokens to the objects extending the object owned by this converter.
This method is needed only in a conveter which has extensions. It needs to be implemented in the top-level converter by the user
Reimplemented from TopLevelTPCnvBaseP< Rec::TrackParticleContainer_tlp1 >.
Definition at line 119 of file TrackParticleContainerCnv_tlp1.h.
|
inlineoverridevirtualinherited |
Return the list of tokens to the objects extending the object NOT owned by this converter.
| persObj | [IN] persistent object from which contains list of tokens. Passes as void* - if the type is wrong, it may crash |
Definition at line 115 of file TopLevelTPCnvBaseP.h.
|
inlineprotectedinherited |
Check if TP converters from a given top-level converter were already registered in this converter.
| cnv | [IN] top-level converter to check |
Definition at line 166 of file TopLevelTPCnvBase.h.
|
inlineoverridevirtualinherited |
Returns true if the converter has a persistent object.
Definition at line 52 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
return C++ type id of the persistent class this converter is for
Implements ITPCnvBase.
Definition at line 169 of file TopLevelTPConverter.h.
|
inlinevirtualinherited |
Definition at line 201 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Convert persistent object representation to transient.
| pers | [IN] void* pointer to the persistent object |
| trans | [OUT] void* pointer to the empty transient object |
| log | [IN] output message stream |
Implements ITPCnvBase.
Definition at line 173 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Convert persistent object representation to transient.
| pers | [IN] void* pointer to the persistent object |
| trans | [OUT] void* pointer to the empty transient object |
| key | [IN] SG key of object being read. |
| log | [IN] output message stream |
Reimplemented from ITPCnvBase.
Definition at line 183 of file TopLevelTPConverter.h.
|
inlineinherited |
@release the persistent object from this converter
Definition at line 82 of file TopLevelTPCnvBaseP.h.
|
inlineprotectedinherited |
Remember that elemental TP converters from the given top-level converter are already registered.
| cnv | [IN] top-level TP converter - source of the elemental TP converters |
Definition at line 156 of file TopLevelTPCnvBase.h.
|
inlineinherited |
Set the persistent storage space for the main TP converter.
Definition at line 152 of file TopLevelTPConverter.h.
|
virtual |
A stub for a method that should be provided by the converter creator.
In that methods all elemental TP converters that belong to this top-level converter need to be assigned to storage vectors in the persistent object.
| persObj | [IN] persistent object |
Implements TopLevelTPConverter< TrackParticleContainerCnv_p1, Rec::TrackParticleContainer_tlp1 >.
Definition at line 87 of file TrackParticleContainerCnv_tlp1.cxx.
|
inlineoverridevirtualinherited |
Take ownership of the persistent object.
Also initialize all elemental TP converters to use that object.
| persObj | [IN] the persistent object passed as void* |
Definition at line 104 of file TopLevelTPCnvBaseP.h.
|
inlineoverridevirtualinherited |
return C++ type id of the transient class this converter is for
Implements ITPCnvBase.
Definition at line 166 of file TopLevelTPConverter.h.
|
inlinevirtualinherited |
Definition at line 210 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Convert transient object representation to persistent.
| trans | [IN] void* pointer to the transient object |
| pers | [OUT] void* pointer to the empty persistent object |
| log | [IN] output message stream |
Implements ITPCnvBase.
Definition at line 178 of file TopLevelTPConverter.h.
|
inlineoverridevirtualinherited |
Convert transient object representation to persistent.
| trans | [IN] void* pointer to the transient object |
| pers | [OUT] void* pointer to the empty persistent object |
| key | [IN] SG key of object being written. |
| log | [IN] output message stream |
Reimplemented from ITPCnvBase.
Definition at line 192 of file TopLevelTPConverter.h.
|
protected |
Definition at line 139 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 138 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 140 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 141 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
Map of elemental TP converters indexed by transient typeid - used for writing.
Definition at line 180 of file TopLevelTPCnvBase.h.
|
protectedinherited |
Map of elemental TP converters indexed by their ID - used for reading.
Definition at line 177 of file TopLevelTPCnvBase.h.
|
protected |
Definition at line 183 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 169 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 164 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 166 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 170 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 172 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 162 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 184 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 182 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
Definition at line 217 of file TopLevelTPConverter.h.
|
protected |
Definition at line 144 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 143 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 145 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 146 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 157 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 156 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 158 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 159 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 155 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 142 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 179 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 152 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 151 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 153 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 154 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 149 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 150 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 137 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 161 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 163 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 173 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
Set top-level converters from which elemental TP converters were registered.
Definition at line 184 of file TopLevelTPCnvBase.h.
|
protected |
Definition at line 171 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 175 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 165 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 168 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
The persistent object this conveter is working on.
Definition at line 128 of file TopLevelTPCnvBaseP.h.
|
protected |
Definition at line 132 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 187 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 136 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 129 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 125 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 178 of file TrackParticleContainerCnv_tlp1.h.
|
protected |
Definition at line 174 of file TrackParticleContainerCnv_tlp1.h.
|
protectedinherited |
Counter used to create typed IDs used in the transient Ref.
Definition at line 187 of file TopLevelTPCnvBase.h.
|
protected |
Definition at line 133 of file TrackParticleContainerCnv_tlp1.h.