ATLAS Offline Software
TBTDCCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // -------------------------------------------------------------------
6 // Modified pool converter which complies with the standards of the
7 // transient/persistent scheme.
8 // See: https://twiki.cern.ch/twiki/bin/view/Atlas/TransientPersistentSeparation#TP_converters_for_component_type
9 // Author: Iftach Sadeh (iftach.sadeh@NOSPAMTODAYcern.ch) , February 2010
10 // -------------------------------------------------------------------
11 #ifndef TBEVENTATHENAPOOL_TBTDCCNV_P1_H
12 #define TBEVENTATHENAPOOL_TBTDCCNV_P1_H
13 
15 #include "TBTPCnv/TBTDC_p1.h"
16 #include "TBEvent/TBTDC.h"
17 #include "TBTPCnv/TBTDCCnv_p1.h"
18 
19 // the latest persistent representation type of TBTDC:
22 
23 class TBTDCCnv : public TBTDCCnvBase {
24 friend class CnvFactory<TBTDCCnv >;
25 protected:
26 public:
27  TBTDCCnv (ISvcLocator* svcloc) : TBTDCCnvBase(svcloc) {}
28 protected:
29  virtual TBTDC_PERS* createPersistent (TBTDC* transCont);
30  virtual TBTDC* createTransient ();
31 
33 };
34 #endif
35 
TBTDC_p1.h
TBTDC.h
TBTDCCnv_p1
Definition: TBTDCCnv_p1.h:22
TBTDC_PERS
TBTDC_p1 TBTDC_PERS
Definition: TBTDCCnv.h:20
TBTDCCnv::createTransient
virtual TBTDC * createTransient()
Definition: TBTDCCnv.cxx:14
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
TBTDCCnv
Definition: TBTDCCnv.h:23
TBTDCCnv_p1.h
TBTDC_p1
Definition: TBTDC_p1.h:15
TBTDC
Definition: TBTDC.h:17
TBTDCCnvBase
T_AthenaPoolCustomCnv< TBTDC, TBTDC_PERS > TBTDCCnvBase
Definition: TBTDCCnv.h:21
TBTDCCnv::m_TPConverter
TBTDCCnv_p1 m_TPConverter
Definition: TBTDCCnv.h:32
TBTDCCnv::createPersistent
virtual TBTDC_PERS * createPersistent(TBTDC *transCont)
Definition: TBTDCCnv.cxx:7
TBTDCCnv::TBTDCCnv
TBTDCCnv(ISvcLocator *svcloc)
Definition: TBTDCCnv.h:27