27 if (originalWrap ==
nullptr) {
29 <<
"edm::BasicHandle has null pointer to Wrapper";
33 const_cast<void*>(static_cast<void const*>(originalWrap)));
41 if (product.typeOf() !=
result.type()) {
42 std::cerr <<
"FWGenericObject asked for " <<
result.type().name() <<
" but was given a "
43 << product.typeOf().name();
45 <<
"FWGenericObject asked for " <<
result.type().name() <<
" but was given a " << product.typeOf().name();
56 if (dataTypeName[dataTypeName.size() - 1] ==
'>')
58 std::string wrapperName =
"edm::Wrapper<" + dataTypeName +
">";