29 ATH_CHECK( this->BaseCnv_t::initialize() );
37 return StatusCode::FAILURE;
39 this->BaseCnv_t::m_classDesc = std::move(rflx_type);
40 return StatusCode::SUCCESS;
45#define DECL_CNV(NAME, TDEF) \
46 typedef StlAthenaPoolCnv< NAME > TDEF; \
47 template class StlAthenaPoolCnv< NAME >; \
48 DECLARE_CONVERTER(TDEF)
50#define DECL2_CNV(N1, N2, TDEF) \
51 typedef StlAthenaPoolCnv< N1, N2 > TDEF; \
52 template class StlAthenaPoolCnv< N1, N2 >; \
53 DECLARE_CONVERTER(TDEF)
58DECL_CNV(
unsigned int, AthenaPoolUIntCnv)
61DECL_CNV(std::string, AthenaPoolStdStringCnv)
63#include "SGTools/StlVectorClids.h"
64DECL_CNV(std::vector<int>, AthenaPoolStdVectorIntCnv)
65DECL_CNV(std::vector<unsigned int>, AthenaPoolStdVectorUIntCnv)
66DECL_CNV(std::vector<float>, AthenaPoolStdVectorFloatCnv)
67DECL_CNV(std::vector<double>, AthenaPoolStdVectorDoubleCnv)
69#include "SGTools/StlMapClids.h"
70DECL2_CNV(std::map<int, int>, AthenaPoolStdMapIntIntCnv)
71DECL2_CNV(std::map<int, float>, AthenaPoolStdMapIntFloatCnv)
72DECL2_CNV(std::map<int, double>, AthenaPoolStdMapIntDoubleCnv)
74DECL2_CNV(std::map<std::string, int>, AthenaPoolStdMapStringIntCnv)
75DECL2_CNV(std::map<std::string, unsigned int>, AthenaPoolStdMapStringUIntCnv)
76DECL2_CNV(std::map<std::string, float>, AthenaPoolStdMapStringFloatCnv)
77DECL2_CNV(std::map<std::string, double>, AthenaPoolStdMapStringDoubleCnv)
#define ATH_CHECK
Evaluate an expression and check for errors.
#define DECL_CNV(NAME, TDEF)
#define DECL2_CNV(N1, N2, TDEF)
his file contains the class definition for the templated T_AthenaPoolCnv class.
static std::string name()
Return the name of class T as a string.
Abstract factory to create the converter.
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
T_AthenaPoolCnv< T > BaseCnv_t
StlAthenaPoolCnv(ISvcLocator *svcloc)
Standard constructor.
StlAthenaPoolCnv< T > Self_t
This templated class provides the converter to translate an object to/from its persistent POOL repres...