ATLAS Offline Software
ElementLinkCnv_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_ELEMENTLINKCNV_P1_H
6 #define DATAMODELATHENAPOOL_ELEMENTLINKCNV_P1_H
7 
15 #include "ElementLink_p1.h"
16 namespace SG {
17  class ThinningCache;
18 }
19 
20 
25 template <class LINK_TYPE>
27  : public T_AthenaPoolTPCnvConstBase< LINK_TYPE, typename GeneratePersELinkType_p1<LINK_TYPE >::type > {
28 public:
29  typedef LINK_TYPE Link_t;
31 
35 
37 
38  void transToPers(const Link_t& trans, PersLink_t& pers,
39  const SG::ThinningCache* cache,
40  MsgStream& log) const;
41 
42  void transToPers(const Link_t& trans, PersLink_t& pers, MsgStream& log) const;
43  void persToTrans(const PersLink_t& pers, Link_t& trans, MsgStream& log) const;
44 
45 
46  virtual void transToPers(const Link_t* trans, PersLink_t* pers, MsgStream& log) const override;
47  virtual void persToTrans(const PersLink_t* pers, Link_t* trans, MsgStream& log) const override;
48 };
49 
50 
51 #ifndef __REFLEX__
52 #include "ElementLinkCnv_p1.icc"
53 #endif // not __REFLEX__
54 
55 #endif
ElementLinkCnv_p1::transToPers
virtual void transToPers(const Link_t *trans, PersLink_t *pers, MsgStream &log) const override
ElementLinkCnv_p1::persToTrans
virtual void persToTrans(const PersLink_t *pers, Link_t *trans, MsgStream &log) const override
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
ElementLinkCnv_p1::PersLink_t
GeneratePersELinkType_p1< Link_t >::type PersLink_t
Definition: ElementLinkCnv_p1.h:30
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
T_AthenaPoolTPConverter.h
ElementLinkCnv_p1
Definition: ElementLinkCnv_p1.h:27
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, MsgStream &log) const
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
TPConverterConstBase
Definition: TPConverter.h:776
SG::ThinningCache
Cache thinning decisions for converters.
Definition: ThinningCache.h:48
ElementLinkCnv_p1::ElementLinkCnv_p1
ElementLinkCnv_p1()
Definition: ElementLinkCnv_p1.h:36
ElementLinkCnv_p1.icc
ElementLinkCnv_p1::Link_t
LINK_TYPE Link_t
Definition: ElementLinkCnv_p1.h:29