![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLEXTENDCNV_H
6 #define ATHENAPOOLCNVSVC_T_ATHENAPOOLEXTENDCNV_H
21 template <
class TRANS,
class PERS>
68 virtual void setToken(
const std::string& token);
86 virtual const std::string
name()
const;
P * poolReadObject()
Read object of type P.
virtual const std::string name() const
Get the name of this converter (anything that identifies it).
virtual void readObjectFromPool(const std::string &token)=0
Read the persistent object from POOL.
virtual const Token * writeObject(const std::string &key, const std::string &output)
Write the persistent object to POOL.
virtual BaseType * baseAthenaPoolCnv()
return the original AthenaPool converter this one was cloned from if not cloned this returns self if ...
virtual PERS * createPersistent(TRANS *)
no-op
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual bool needsCloning() const
tells if this converter needs to be cloned (true after the converter has been registered once already...
Compatibility for old converter classes that don't get passed the key.
virtual void setToken(const std::string &token)
Set the token (in std::string representation) and classID for the object that will be read next.
This class is used to add functionality to a standard AthenaConverter.
T_AthenaPoolCustomCnv< TRANS, PERS > BaseType
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
virtual TRANS * createTransient()
BaseType * m_originalExtendingCnv
pointer to the original Gaudi converter - only this one is registered in the framework and has to be ...
Base class for top-level TP converters.
void poolReadObject(TopLevelTPCnvBase &tlp_converter)
Read object of type P (plus all extending objects) using the indicated top-level TP converter.
T_AthenaPoolExtendingCnv(ISvcLocator *svcloc)
Constructor.
virtual TopLevelTPCnvBase * getTopLevelTPCnv()=0
Return the top level TP converter (which is always used for writing)
This templated class extends T_AthenaPoolCustomCnv to provide additional/chaged functionality for Ath...
virtual void readObject(const std::string &token)
virtual void wasClonedFrom(AthenaConverterTLPExtension *orig_converter)
remember the original converter this one was cloned from