ATLAS Offline Software
DataLinkCnv_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef DATAMODELATHENAPOOL_DATALINKCNV_P1_H
6 #define DATAMODELATHENAPOOL_DATALINKCNV_P1_H
7 
15 #include "DataLink_p1.h"
16 
21 template <class DLINK_TYPE>
23  : public T_AthenaPoolTPCnvConstBase< DLINK_TYPE, DataLink_p1 > {
24 public:
28 
29 
30  typedef DLINK_TYPE DLink_t;
32 
34 
35  virtual void persToTrans(const PersDLink_t* pers, DLink_t* trans, MsgStream& log) const override;
36  virtual void transToPers(const DLink_t* trans, PersDLink_t* pers, MsgStream& log) const override;
37 
38  virtual void persToTrans(const PersDLink_t& pers, DLink_t& trans, MsgStream& log) const;
39  virtual void transToPers(const DLink_t& trans, PersDLink_t& pers, MsgStream& log) const;
40 };
41 
42 #ifndef __REFLEX__
43 #include "DataLinkCnv_p1.icc"
44 #endif // not __REFLEX__
45 
46 
51 template <class DLINKVector_TYPE>
53  : public T_AthenaPoolTPCnvStdVectorConst< DLINKVector_TYPE,
54  DataLinkVector_p1,
55  DataLinkCnv_p1<typename DLINKVector_TYPE::value_type > >
56 {
57 public:
59 };
60 
61 #endif
DataLinkCnv_p1::transToPers
virtual void transToPers(const DLink_t &trans, PersDLink_t &pers, MsgStream &log) const
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
DataLinkVectorCnv_p1::DataLinkVectorCnv_p1
DataLinkVectorCnv_p1()
Definition: DataLinkCnv_p1.h:58
DataLinkCnv_p1::DataLinkCnv_p1
DataLinkCnv_p1()
Definition: DataLinkCnv_p1.h:33
DataLinkCnv_p1::transToPers
virtual void transToPers(const DLink_t *trans, PersDLink_t *pers, MsgStream &log) const override
DataLinkCnv_p1::PersDLink_t
DataLink_p1 PersDLink_t
Definition: DataLinkCnv_p1.h:31
T_AthenaPoolTPConverter.h
DataLinkCnv_p1::persToTrans
virtual void persToTrans(const PersDLink_t *pers, DLink_t *trans, MsgStream &log) const override
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
DataLinkCnv_p1::persToTrans
virtual void persToTrans(const PersDLink_t &pers, DLink_t &trans, MsgStream &log) const
TPCnvStdVectorConst
Const version of TPCnvStdVector.
Definition: TPConverter.h:1308
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
DataLinkCnv_p1.icc
TPConverterConstBase
Definition: TPConverter.h:776
DataLinkVectorCnv_p1
Definition: DataLinkCnv_p1.h:56
DataLinkCnv_p1
Definition: DataLinkCnv_p1.h:23
DataLinkCnv_p1::DLink_t
DLINK_TYPE DLink_t
Definition: DataLinkCnv_p1.h:30