This templated class extends T_AthenaPoolCustomCnv to provide additional/chaged functionality for AthenaPool converters for top-level TP separated persistent objects that are an extension to some other, top-level TP separated object.
More...
#include <T_AthenaPoolCustomCnv.h>
This templated class extends T_AthenaPoolCustomCnv to provide additional/chaged functionality for AthenaPool converters for top-level TP separated persistent objects that are an extension to some other, top-level TP separated object.
Definition at line 24 of file T_AthenaPoolCustomCnv.h.
◆ BaseType
◆ T_AthenaPoolExtendingCnv()
T_AthenaPoolExtendingCnv::T_AthenaPoolExtendingCnv |
( |
ISvcLocator * |
svcloc | ) |
|
◆ baseAthenaPoolCnv()
virtual BaseType* T_AthenaPoolExtendingCnv::baseAthenaPoolCnv |
( |
| ) |
|
|
inlineprotectedvirtual |
return the original AthenaPool converter this one was cloned from if not cloned this returns self if not registered this returns NULL
Definition at line 58 of file T_AthenaPoolExtendingCnv.h.
◆ createPersistent()
virtual PERS* T_AthenaPoolExtendingCnv::createPersistent |
( |
TRANS * |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ createTransient()
virtual TRANS* T_AthenaPoolExtendingCnv::createTransient |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
◆ getTopLevelTPCnv()
|
overrideprotectedpure virtual |
◆ name()
virtual const std::string T_AthenaPoolExtendingCnv::name |
( |
| ) |
const |
|
overrideprotectedvirtual |
Get the name of this converter (anything that identifies it).
Used for logging
- Returns
- Name of this converter
◆ needsCloning()
virtual bool T_AthenaPoolExtendingCnv::needsCloning |
( |
| ) |
const |
|
inlineoverrideprotectedvirtual |
tells if this converter needs to be cloned (true after the converter has been registered once already)
Definition at line 65 of file T_AthenaPoolExtendingCnv.h.
◆ poolReadObject() [1/2]
template<class P >
P* T_AthenaPoolExtendingCnv::poolReadObject |
( |
| ) |
|
|
protected |
Read object of type P.
This is an exception-throwing version of poolToObject() plus reading of all extending objects. Version 1 - (see createTransient() above)
- Returns
- object read from POOL (by pointer) deprecated - use poolReadObject(TLPCnv)
◆ poolReadObject() [2/2]
Read object of type P (plus all extending objects) using the indicated top-level TP converter.
Version 2 - (see createTransient() above) NOTE: the TLP converter will delete the persistent object after createTransient()
- Parameters
-
tlp_converter | [IN] top-level TP converter to be used when reading |
◆ readObject()
virtual void T_AthenaPoolExtendingCnv::readObject |
( |
const std::string & |
token | ) |
|
|
inlineoverrideprotectedvirtual |
◆ readObjectFromPool()
virtual void T_AthenaPoolExtendingCnv::readObjectFromPool |
( |
const std::string & |
token | ) |
|
|
protectedpure virtual |
◆ setToken()
virtual void T_AthenaPoolExtendingCnv::setToken |
( |
const std::string & |
token | ) |
|
|
overrideprotectedvirtual |
Set the token (in std::string representation) and classID for the object that will be read next.
Required by compareClassGuid() and poolReadObject(). Only extending converter needs to call this method explicitely
- Parameters
-
token | [IN] token for the object to be read |
◆ wasClonedFrom()
remember the original converter this one was cloned from
◆ writeObject()
virtual std::unique_ptr<const Token> T_AthenaPoolExtendingCnv::writeObject |
( |
const std::string & |
key, |
|
|
const std::string & |
output |
|
) |
| |
|
overrideprotectedvirtual |
Write the persistent object to POOL.
- Parameters
-
key | [IN] StoreGate key (string) - placement hint to generate POOL container name |
◆ CnvFactory< T_AthenaPoolExtendingCnv< TRANS, PERS > >
◆ m_originalExtendingCnv
BaseType* T_AthenaPoolExtendingCnv::m_originalExtendingCnv |
|
protected |
pointer to the original Gaudi converter - only this one is registered in the framework and has to be used for all I/O operations
Definition at line 95 of file T_AthenaPoolExtendingCnv.h.
The documentation for this class was generated from the following files: