ATLAS Offline Software
Loading...
Searching...
No Matches
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
31public:
32 ElementTableCnv( ISvcLocator *svcloc );
33protected:
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
38private:
39 IMessageSvc* m_msgSvc;
41};//end of class definitions
42
43
44#endif // ELELEMENTTABLE_CNV_H
T_AthenaPoolCustomCnvWithKey< Trk::ElementTable, ElementTable_PERS > ElementTableCnvBase
Trk::ElementTable_p1 ElementTable_PERS
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
virtual ElementTable_PERS * createPersistentWithKey(Trk::ElementTable *transCont, const std::string &key) override
method to be implemented by the developer.
ElementTableCnv_p1 m_TPConverter
IMessageSvc * m_msgSvc
MsgStream svc.
virtual Trk::ElementTable * createTransientWithKey(const std::string &key) override
method to be implemented by the developer.
ElementTableCnv(ISvcLocator *svcloc)
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
elements & fractions as unsigned char - if filled