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 +
">";
std::shared_ptr< cms::Exception > whyFailed() const
void setWhyFailed(std::shared_ptr< cms::Exception > const &iWhyFailed)
edm::TypeWithDict const & type() const
static TypeWithDict byName(std::string const &name)
std::type_info const & typeInfo() const
bool failedToGet() const noexcept(true)
Handle< T > convert_handle(BasicHandle &&bh) noexcept(true)
WrapperBase const * wrapper() const noexcept(true)
std::type_info const & wrappedTypeInfo() const
auto wrap(F iFunc) -> decltype(iFunc())
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Provenance const * provenance() const noexcept(true)
ProductID id() const noexcept(true)
ObjectWithDict get(std::string const &memberName) const