ATLAS Offline Software
CondAttrListVecCnv.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 ATHENAPOOLCNVSVC_CONDATTRLISTVECCNV_H
6 #define ATHENAPOOLCNVSVC_CONDATTRLISTVECCNV_H
7 
14 #include "GaudiKernel/Converter.h"
15 
16 class IOpaqueAddress;
17 class DataObject;
18 class StatusCode;
19 class IAddressCreator;
20 
22 template <class TYPE> class CnvFactory;
23 
28 class CondAttrListVecCnv : public Converter {
29 public:
31  virtual ~CondAttrListVecCnv();
33  virtual StatusCode initialize();
34 
38  virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
39 
43  virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
44 
46  virtual long int repSvcType() const;
47 
49  static long storageType();
50 
52  static const CLID& classID();
53 
55  CondAttrListVecCnv(ISvcLocator* svcloc);
56 };
57 #endif // ATHENAPOOLCNVSVC_CONDATTRLISTVECCNV_H
CondAttrListVecCnv::createObj
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create a transient object from a POOL persistent representation.
Definition: CondAttrListVecCnv.cxx:46
CondAttrListVecCnv::CondAttrListVecCnv
CondAttrListVecCnv(ISvcLocator *svcloc)
Constructor.
Definition: CondAttrListVecCnv.cxx:100
CondAttrListVecCnv::initialize
virtual StatusCode initialize()
Gaudi Service Interface method implementations:
Definition: CondAttrListVecCnv.cxx:34
CondAttrListVecCnv
This class provides the converter for the AthenaAttributeList class.
Definition: CondAttrListVecCnv.h:28
CondAttrListVecCnv::repSvcType
virtual long int repSvcType() const
Definition: CondAttrListVecCnv.cxx:26
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
CondAttrListVecCnv::createRep
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create a POOL persistent representation for a transient object.
Definition: CondAttrListVecCnv.cxx:72
CondAttrListVecCnv::storageType
static long storageType()
Definition: CondAttrListVecCnv.cxx:92
CondAttrListVecCnv::classID
static const CLID & classID()
Definition: CondAttrListVecCnv.cxx:96
Converter
Definition: Converter.h:27
CondAttrListVecCnv::~CondAttrListVecCnv
virtual ~CondAttrListVecCnv()
Destructor.
Definition: CondAttrListVecCnv.cxx:31