CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HandleBase.cc
Go to the documentation of this file.
4 
5 namespace edm {
6  void const*
8  if (whyFailedFactory_) {
9  throw *whyFailedFactory_->make();
10  }
11  return product_;
12  }
13 
14  ProductID
15  HandleBase::id() const {
16  if (whyFailedFactory_) {
17  throw *whyFailedFactory_->make();
18  }
19  return prov_->productID();
20  }
21 }
ProductID id() const
Definition: HandleBase.cc:15
std::shared_ptr< HandleExceptionFactory > whyFailedFactory_
Definition: HandleBase.h:127
void const * productStorage() const
Definition: HandleBase.cc:7
Provenance const * prov_
Definition: HandleBase.h:126
void const * product_
Definition: HandleBase.h:125
ProductID const & productID() const
Definition: Provenance.h:67