ATLAS Offline Software
Loading...
Searching...
No Matches
RecoTimingObjCnv.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#ifndef RECATHENAPOOL_RECOTIMINGOBJCNV_H
6#define RECATHENAPOOL_RECOTIMINGOBJCNV_H
7
8// AthenaPoolCnvSvc includes
10
13
14class MsgStream;
15
17
18class RecoTimingObjCnv: public T_AthenaPoolCustomCnv< RecoTimingObj, RecoTimingObj_PERS >
19{
20
21 // make the factory for this converter our friend
22 friend class CnvFactory<RecoTimingObjCnv>;
23
25 // Protected methods:
27 protected:
28
31public:
32 RecoTimingObjCnv(ISvcLocator* svcloc);
33
34 // destructor
35 virtual ~RecoTimingObjCnv() { delete m_msg; };
36
37protected:
38
42
46
47 private:
48
49 MsgStream *m_msg;
50
51};
52
56
57inline RecoTimingObjCnv::RecoTimingObjCnv( ISvcLocator* svcLocator ) :
59 m_msg(0)
60{}
61
62#endif
RecoTimingObj_p1 RecoTimingObj_PERS
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
virtual RecoTimingObj * createTransient()
Build the transient representation from a persistent one.
virtual ~RecoTimingObjCnv()
RecoTimingObjCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
virtual RecoTimingObj_PERS * createPersistent(RecoTimingObj *transCont)
Build the persistent representation from the transient one.
Compatibility for old converter classes that don't get passed the key.