1 #ifndef DataFormats_Common_BasicHandle_h 2 #define DataFormats_Common_BasicHandle_h 56 : product_(), prov_(
nullptr), whyFailedFactory_(iWhyFailed) {}
64 swap(whyFailedFactory_,
other.whyFailedFactory_);
80 std::shared_ptr<cms::Exception>
whyFailed()
const {
return whyFailedFactory_->make(); }
89 whyFailedFactory_.reset();
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
WrapperBase const * wrapper() const (true)
std::shared_ptr< HandleExceptionFactory > whyFailedFactory_
std::shared_ptr< cms::Exception > whyFailed() const
bool isValid() const (true)
Provenance const * provenance() const (true)
WrapperBase const * product_
bool failedToGet() const (true)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::shared_ptr< HandleExceptionFactory > const & whyFailedFactory() const (true)
void swap(BasicHandle &other)(true)
Namespace of DDCMS conversion namespace.
static BasicHandle makeInvalid()
std::shared_ptr< HandleExceptionFactory > & whyFailedFactory()(true)
BasicHandle(std::shared_ptr< HandleExceptionFactory > const &iWhyFailed)(true)
Used when the attempt to get the data failed.
BasicHandle(WrapperBase const *iProd, Provenance const *iProv)(true)
ProductID id() const (true)
void swap(BasicHandle &a, BasicHandle &b)(true)