#include <BasicHandle.h>
Public Member Functions | |
BasicHandle ()=delete | |
BasicHandle (BasicHandle const &h)=default | |
BasicHandle (BasicHandle &&h)=default | |
BasicHandle (WrapperBase const *iProd, Provenance const *iProv) noexcept(true) | |
BasicHandle (std::shared_ptr< HandleExceptionFactory const > const &iWhyFailed) noexcept(true) | |
Used when the attempt to get the data failed. More... | |
void | clear () noexcept(true) |
bool | failedToGet () const noexcept(true) |
ProductID | id () const noexcept(true) |
bool | isValid () const noexcept(true) |
BasicHandle & | operator= (BasicHandle &&rhs)=default |
BasicHandle & | operator= (BasicHandle const &rhs)=default |
Provenance const * | provenance () const noexcept(true) |
void | swap (BasicHandle &other) noexcept(true) |
std::shared_ptr< cms::Exception > | whyFailed () const |
std::shared_ptr < HandleExceptionFactory const > const & | whyFailedFactory () const noexcept(true) |
std::shared_ptr < HandleExceptionFactory const > & | whyFailedFactory () noexcept(true) |
WrapperBase const * | wrapper () const noexcept(true) |
~BasicHandle ()=default | |
Static Public Member Functions | |
static BasicHandle | makeInvalid () |
Private Member Functions | |
BasicHandle (bool) | |
Private Attributes | |
WrapperBase const * | product_ |
Provenance const * | prov_ |
std::shared_ptr < HandleExceptionFactory const > | whyFailedFactory_ |
Definition at line 43 of file BasicHandle.h.
|
delete |
Referenced by makeInvalid().
|
default |
|
default |
|
inlinenoexcept |
Definition at line 51 of file BasicHandle.h.
|
inlinenoexcept |
Used when the attempt to get the data failed.
Definition at line 54 of file BasicHandle.h.
|
default |
|
inlineexplicitprivate |
Definition at line 97 of file BasicHandle.h.
|
inlinenoexcept |
Definition at line 87 of file BasicHandle.h.
References product_, prov_, and whyFailedFactory_.
Referenced by BeautifulSoup.Tag::setString().
|
inlinenoexcept |
Definition at line 71 of file BasicHandle.h.
References whyFailedFactory_.
Referenced by edm::convert_handle(), edm::Event::get(), edm::EventBase::getByLabel(), edm::Event::getByLabel(), edm::Event::getByToken(), and edm::Event::getHandle().
|
inlinenoexcept |
Definition at line 77 of file BasicHandle.h.
References edm::Provenance::productID(), and prov_.
Referenced by edm::convert_handle(), and edm::Event::fillView_().
|
inlinenoexcept |
Definition at line 69 of file BasicHandle.h.
References product_, and prov_.
Referenced by ntupleDataFormat._Object::_checkIsValid(), edm::check(), edm::RootOutputFile::fillBranches(), edm::Event::getByLabelImpl(), edm::PrincipalGetAdapter::getByToken_(), edm::Event::getImpl(), core.AutoHandle.AutoHandle::ReallyLoad(), and edm::StreamSerializer::serializeEvent().
|
inlinestatic |
Definition at line 93 of file BasicHandle.h.
References BasicHandle().
Referenced by edm::Principal::getByToken().
|
default |
|
default |
|
inlinenoexcept |
Definition at line 75 of file BasicHandle.h.
References prov_.
Referenced by edm::check(), edm::convert_handle(), edm::RootOutputFile::fillBranches(), edm::Event::fillView_(), edm::Event::get(), edm::Event::getByLabel(), edm::Event::getByLabelImpl(), edm::Event::getImpl(), edm::StreamSerializer::serializeEvent(), and edm::ProvenanceCheckerOutputModule::write().
|
inlinenoexcept |
Definition at line 59 of file BasicHandle.h.
References product_, prov_, std::swap(), and whyFailedFactory_.
|
inline |
Definition at line 79 of file BasicHandle.h.
References whyFailedFactory_.
Referenced by edm::convert_handle().
|
inlinenoexcept |
Definition at line 81 of file BasicHandle.h.
References whyFailedFactory_.
Referenced by edm::Event::get(), edm::Event::getByLabel(), edm::Event::getByToken(), and edm::Event::getHandle().
|
inlinenoexcept |
Definition at line 85 of file BasicHandle.h.
References whyFailedFactory_.
|
inlinenoexcept |
Definition at line 73 of file BasicHandle.h.
References product_.
Referenced by edm::convert_handle(), edm::RootOutputFile::fillBranches(), edm::Event::fillView_(), edm::EventPrincipal::getIt(), and edm::StreamSerializer::serializeEvent().
|
private |
|
private |
Definition at line 99 of file BasicHandle.h.
Referenced by clear(), id(), isValid(), provenance(), and swap().
|
private |
Definition at line 100 of file BasicHandle.h.
Referenced by clear(), failedToGet(), swap(), whyFailed(), and whyFailedFactory().