ATLAS Offline Software
ElementLinkCnv_p3.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_P3_H
6 #define DATAMODELATHENAPOOL_ELEMENTLINKCNV_P3_H
7 
15 #include "ElementLink_p3.h"
16 namespace SG {
17  class ThinningCache;
18 }
19 
20 
25 template <class LINK_TYPE>
27  : public T_AthenaPoolTPCnvConstBase< LINK_TYPE, typename GeneratePersELinkType_p3<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 #ifndef __REFLEX__
51 #include "ElementLinkCnv_p3.icc"
52 #endif // not __REFLEX__
53 
54 #endif
ElementLinkCnv_p3::transToPers
virtual void transToPers(const Link_t *trans, PersLink_t *pers, MsgStream &log) const override
ElementLinkCnv_p3
Definition: ElementLinkCnv_p3.h:27
ElementLinkCnv_p3::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
ElementLinkCnv_p3::persToTrans
virtual void persToTrans(const PersLink_t *pers, Link_t *trans, MsgStream &log) const override
TPConverterConstBase::transToPers
virtual void transToPers(const TRANS *transObj, PERS *persObj, MsgStream &log) const =0
Convert transient representation to persistent one.
ElementLinkCnv_p3::PersLink_t
GeneratePersELinkType_p3< Link_t >::type PersLink_t
Definition: ElementLinkCnv_p3.h:30
ElementLinkCnv_p3::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
T_AthenaPoolTPConverter.h
ElementLinkCnv_p3::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, MsgStream &log) const
TPConverterConstBase::persToTrans
virtual void persToTrans(const PERS *persObj, TRANS *transObj, MsgStream &log) const =0
Convert persistent representation to transient one.
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
ElementLinkCnv_p3::Link_t
LINK_TYPE Link_t
Definition: ElementLinkCnv_p3.h:29
ElementLinkCnv_p3.icc
TPConverterConstBase
Definition: TPConverter.h:776
SG::ThinningCache
Cache thinning decisions for converters.
Definition: ThinningCache.h:48
ElementLinkCnv_p3::ElementLinkCnv_p3
ElementLinkCnv_p3()
Definition: ElementLinkCnv_p3.h:36