|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ATHENAPOOLCNVSVC_T_ATHENAPOOLCOOLMULTCHANCNV_H
6 #define ATHENAPOOLCNVSVC_T_ATHENAPOOLCOOLMULTCHANCNV_H
34 template <
class COLL_T,
class ELEM_T,
class ELEM_P = ELEM_T>
63 (COLL_T*
obj, IOpaqueAddress*& pAddr,
106 virtual void setToken(
const std::string& token)
override final;
StatusCode condMultChanCollImplToObject(const std::string &collImplToken, COLL_T *&obj)
Read in CondAttrListCollImpl and the objects for its tokens, saving them in the output collection.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj) override
Create a transient object from a POOL persistent representation.
T_AthenaPoolCoolMultChanCnv(ISvcLocator *svcloc)
Constructor.
virtual ELEM_T * createTransient()
method to be implemented by the developer.
This templated class provides the converter to translate an object to/from its persistent POOL repres...
This class is a collection of AttributeLists where each one is associated with a channel number....
his file contains the class definition for the templated T_AthenaPoolCustCnv class.
This class provides a token that identifies in a unique way objects on the persistent storage.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr) override
Create a POOL persistent representation for a transient object.
virtual StatusCode transToPers(COLL_T *obj, ELEM_T *&persObj) override
Dummy methods not needed here.
ELEM_T * poolReadObject()
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode persToTrans(COLL_T *&transObj, ELEM_T *obj) override
Abstract factory to create the converter.
StatusCode attrListCollToObject(CondAttrListCollection *attrListColl, COLL_T *&obj)
Read in objects from POOL for the tokens stored CondAttrListCollection and save the objects in the ou...
P * poolReadObject()
Read object of type P.
StatusCode objectToAttrListColl ATLAS_NOT_THREAD_SAFE(COLL_T *obj, IOpaqueAddress *&pAddr, CondAttrListCollection *&attrListColl, Token *&token)
Write out objects stored in "obj" into POOL and save the tokens in a CondAttrListCollection,...
int m_persCtx
Persistency context in which to read all objects (extracted from the Collection Address)
This templated class provides the POOL converter to translate a DataVector<T> to and from a CondAttrL...
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddr, DataObject *pObj) override
Create a POOL persistent representation for a transient object.
virtual ELEM_P * createPersistent(ELEM_T *obj)
method to be implemented by the developer.
virtual void setToken(const std::string &token) override final
specialized version that adds persistency contextID to tokens (for reading)