CMS 3D CMS Logo

HandleBase.cc
Go to the documentation of this file.
4 
5 namespace edm {
6  void const* HandleBase::productStorage() const {
7  if (whyFailedFactory_) {
8  whyFailedFactory_->make()->raise();
9  }
10  return product_;
11  }
12 
14  if (whyFailedFactory_) {
15  whyFailedFactory_->make()->raise();
16  }
17  return prov_->productID();
18  }
19 } // namespace edm
edm::HandleBase::productStorage
void const * productStorage() const
Definition: HandleBase.cc:6
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::Provenance::productID
ProductID const & productID() const
Definition: Provenance.h:79
HandleBase.h
Provenance.h
edm::HandleBase::whyFailedFactory_
std::shared_ptr< HandleExceptionFactory const > whyFailedFactory_
Definition: HandleBase.h:110
edm::HandleBase::prov_
Provenance const * prov_
Definition: HandleBase.h:109
edm::HandleBase::product_
void const * product_
Definition: HandleBase.h:108
Exception.h
edm::HandleBase::id
ProductID id() const
Definition: HandleBase.cc:13
edm::ProductID
Definition: ProductID.h:27