Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
Common
src
HandleBase.cc
Go to the documentation of this file.
1
#include "
DataFormats/Common/interface/HandleBase.h
"
2
#include "
DataFormats/Provenance/interface/Provenance.h
"
3
#include "
FWCore/Utilities/interface/Exception.h
"
4
5
namespace
edm {
6
void
const
*
7
HandleBase::productStorage
()
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
}
edm::HandleBase::id
ProductID id() const
Definition:
HandleBase.cc:15
edm::HandleBase::whyFailedFactory_
std::shared_ptr< HandleExceptionFactory > whyFailedFactory_
Definition:
HandleBase.h:128
edm::HandleBase::productStorage
void const * productStorage() const
Definition:
HandleBase.cc:7
edm::ProductID
Definition:
ProductID.h:27
Exception.h
edm::HandleBase::prov_
Provenance const * prov_
Definition:
HandleBase.h:127
HandleBase.h
edm::HandleBase::product_
void const * product_
Definition:
HandleBase.h:126
edm::Provenance::productID
ProductID const & productID() const
Definition:
Provenance.h:78
Provenance.h
Generated for CMSSW Reference Manual by
1.8.5