ATLAS Offline Software
ElementTableCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ElementTableCnv.h, (c) ATLAS Detector software
8 
9 #ifndef ELELEMENTTABLE_CNV_H
10 #define ELELEMENTTABLE_CNV_H
11 
13 #include "GaudiKernel/MsgStream.h"
14 
15 // the transient side
17 // the perisistent side
19 
20 // useful typedefs to not change the code only once in case of schema evolution
23 
24 
26 
27  friend class CnvFactory<ElementTableCnv>;
28 
29  protected:
30 
31 public:
32  ElementTableCnv( ISvcLocator *svcloc );
33 protected:
34  virtual ElementTable_PERS* createPersistentWithKey( Trk::ElementTable *transCont, const std::string& key) override;
35  virtual Trk::ElementTable* createTransientWithKey (const std::string& key) override;
36 
37 
38 private:
39  IMessageSvc* m_msgSvc;
41 };//end of class definitions
42 
43 
44 #endif // ELELEMENTTABLE_CNV_H
ElementTable.h
ElementTableCnv
Definition: ElementTableCnv.h:25
ElementTableCnv::ElementTableCnv
ElementTableCnv(ISvcLocator *svcloc)
Definition: ElementTableCnv.cxx:17
T_AthenaPoolCustomCnvWithKey
This templated class extends T_AthenaPoolCustCnv to provide management of the persistent objects crea...
Definition: T_AthenaPoolCustomCnv.h:35
ElementTableCnv_p1
Definition: ElementTableCnv_p1.h:22
ElementTableCnv::m_TPConverter
ElementTableCnv_p1 m_TPConverter
Definition: ElementTableCnv.h:40
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
ElementTableCnv_p1.h
Trk::ElementTable
Definition: ElementTable.h:24
ElementTableCnv::m_msgSvc
IMessageSvc * m_msgSvc
MsgStream svc.
Definition: ElementTableCnv.h:39
Trk::ElementTable_p1
Definition: ElementTable_p1.h:25
ElementTableCnv::createTransientWithKey
virtual Trk::ElementTable * createTransientWithKey(const std::string &key) override
method to be implemented by the developer.
Definition: ElementTableCnv.cxx:38
ElementTable_PERS
Trk::ElementTable_p1 ElementTable_PERS
Definition: ElementTableCnv.h:21
ElementTableCnv::createPersistentWithKey
virtual ElementTable_PERS * createPersistentWithKey(Trk::ElementTable *transCont, const std::string &key) override
Definition: ElementTableCnv.cxx:24
ElementTableCnvBase
T_AthenaPoolCustomCnvWithKey< Trk::ElementTable, ElementTable_PERS > ElementTableCnvBase
Definition: ElementTableCnv.h:22
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37