25 msg << MSG::ERROR <<
"Could not initialize base class' converter ["
28 return StatusCode::FAILURE;
30 const std::type_info& ti =
typeid(
T);
34 <<
"could not get Reflex::Type from type_info ["
39 return StatusCode::FAILURE;
41 this->BaseCnv_t::m_classDesc = rflx_type;
42 return StatusCode::SUCCESS;
47 #define DECL_CNV(NAME, TDEF) \
48 typedef StlAthenaPoolCnv< NAME > TDEF; \
49 template class StlAthenaPoolCnv< NAME >; \
50 DECLARE_CONVERTER(TDEF)
52 #define DECL2_CNV(N1, N2, TDEF) \
53 typedef StlAthenaPoolCnv< N1, N2 > TDEF; \
54 template class StlAthenaPoolCnv< N1, N2 >; \
55 DECLARE_CONVERTER(TDEF)
60 DECL_CNV(
unsigned int, AthenaPoolUIntCnv)
62 DECL_CNV(
double, AthenaPoolDoubleCnv)
63 DECL_CNV(std::string, AthenaPoolStdStringCnv)
65 #include "SGTools/StlVectorClids.h"
66 DECL_CNV(std::vector<int>, AthenaPoolStdVectorIntCnv)
67 DECL_CNV(std::vector<unsigned int>, AthenaPoolStdVectorUIntCnv)
68 DECL_CNV(std::vector<float>, AthenaPoolStdVectorFloatCnv)
69 DECL_CNV(std::vector<double>, AthenaPoolStdVectorDoubleCnv)
71 #include "SGTools/StlMapClids.h"
72 DECL2_CNV(std::map<int, int>, AthenaPoolStdMapIntIntCnv)
73 DECL2_CNV(std::map<int, float>, AthenaPoolStdMapIntFloatCnv)
74 DECL2_CNV(std::map<int, double>, AthenaPoolStdMapIntDoubleCnv)
76 DECL2_CNV(std::map<std::string, int>, AthenaPoolStdMapStringIntCnv)
77 DECL2_CNV(std::map<std::string, unsigned int>, AthenaPoolStdMapStringUIntCnv)
78 DECL2_CNV(std::map<std::string, float>, AthenaPoolStdMapStringFloatCnv)
79 DECL2_CNV(std::map<std::string, double>, AthenaPoolStdMapStringDoubleCnv)