#include <OutputHandle.h>
Public Member Functions | |
ConstBranchDescription const * | desc () const |
bool | failedToGet () const |
bool | isValid () const |
OutputHandle & | operator= (OutputHandle const &rhs) |
OutputHandle (boost::shared_ptr< cms::Exception > const &iWhyFailed) | |
Used when the attempt to get the data failed. | |
OutputHandle (OutputHandle const &h) | |
OutputHandle (EDProduct const *prod, ConstBranchDescription const *desc, boost::shared_ptr< ProductProvenance > productProvenance) | |
OutputHandle () | |
ProductProvenance const * | productProvenance () const |
boost::shared_ptr < ProductProvenance > | productProvenanceSharedPtr () const |
void | swap (OutputHandle &other) |
boost::shared_ptr< cms::Exception > | whyFailed () const |
EDProduct const * | wrapper () const |
~OutputHandle () | |
Private Attributes | |
ConstBranchDescription const * | desc_ |
boost::shared_ptr < ProductProvenance > | productProvenance_ |
boost::shared_ptr< cms::Exception > | whyFailed_ |
EDProduct const * | wrap_ |
Definition at line 39 of file OutputHandle.h.
edm::OutputHandle::OutputHandle | ( | ) | [inline] |
Definition at line 41 of file OutputHandle.h.
: wrap_(0), desc_(0), productProvenance_() {}
edm::OutputHandle::OutputHandle | ( | OutputHandle const & | h | ) | [inline] |
Definition at line 46 of file OutputHandle.h.
: wrap_(h.wrap_), desc_(h.desc_), productProvenance_(h.productProvenance_), whyFailed_(h.whyFailed_){}
edm::OutputHandle::OutputHandle | ( | EDProduct const * | prod, |
ConstBranchDescription const * | desc, | ||
boost::shared_ptr< ProductProvenance > | productProvenance | ||
) | [inline] |
Definition at line 52 of file OutputHandle.h.
: wrap_(prod), desc_(desc), productProvenance_(productProvenance) {}
edm::OutputHandle::OutputHandle | ( | boost::shared_ptr< cms::Exception > const & | iWhyFailed | ) | [inline] |
Used when the attempt to get the data failed.
Definition at line 58 of file OutputHandle.h.
: wrap_(0), desc_(0), productProvenance_(), whyFailed_(iWhyFailed) {}
edm::OutputHandle::~OutputHandle | ( | ) | [inline] |
Definition at line 64 of file OutputHandle.h.
{}
ConstBranchDescription const* edm::OutputHandle::desc | ( | ) | const [inline] |
Definition at line 105 of file OutputHandle.h.
References desc_.
Referenced by edm::check().
{ return desc_; }
bool edm::OutputHandle::failedToGet | ( | ) | const [inline] |
Definition at line 85 of file OutputHandle.h.
References whyFailed_.
{ return 0 != whyFailed_.get(); }
bool edm::OutputHandle::isValid | ( | void | ) | const [inline] |
Definition at line 81 of file OutputHandle.h.
References desc_, productProvenance_, and wrap_.
{ return wrap_ && desc_ &&productProvenance_; }
OutputHandle& edm::OutputHandle::operator= | ( | OutputHandle const & | rhs | ) | [inline] |
Definition at line 75 of file OutputHandle.h.
References swap(), and cond::rpcobtemp::temp.
{ OutputHandle temp(rhs); this->swap(temp); return *this; }
ProductProvenance const* edm::OutputHandle::productProvenance | ( | ) | const [inline] |
Definition at line 97 of file OutputHandle.h.
References productProvenance_.
Referenced by edm::RootOutputFile::fillBranches(), and edm::StreamSerializer::serializeEvent().
{ return productProvenance_.get(); }
boost::shared_ptr<ProductProvenance> edm::OutputHandle::productProvenanceSharedPtr | ( | ) | const [inline] |
Definition at line 101 of file OutputHandle.h.
References productProvenance_.
Referenced by edm::StreamSerializer::serializeEvent().
{ return productProvenance_; }
void edm::OutputHandle::swap | ( | OutputHandle & | other | ) | [inline] |
Definition at line 66 of file OutputHandle.h.
References desc_, productProvenance_, whyFailed_, and wrap_.
Referenced by operator=(), and edm::swap().
{ using std::swap; std::swap(wrap_, other.wrap_); std::swap(desc_, other.desc_); std::swap(productProvenance_, other.productProvenance_); swap(whyFailed_,other.whyFailed_); }
boost::shared_ptr<cms::Exception> edm::OutputHandle::whyFailed | ( | ) | const [inline] |
EDProduct const* edm::OutputHandle::wrapper | ( | ) | const [inline] |
Definition at line 89 of file OutputHandle.h.
References wrap_.
Referenced by edm::RootOutputFile::fillBranches(), and edm::StreamSerializer::serializeEvent().
{ return wrap_; }
ConstBranchDescription const* edm::OutputHandle::desc_ [private] |
Definition at line 111 of file OutputHandle.h.
boost::shared_ptr<ProductProvenance> edm::OutputHandle::productProvenance_ [private] |
Definition at line 112 of file OutputHandle.h.
Referenced by isValid(), productProvenance(), productProvenanceSharedPtr(), and swap().
boost::shared_ptr<cms::Exception> edm::OutputHandle::whyFailed_ [private] |
Definition at line 113 of file OutputHandle.h.
Referenced by failedToGet(), swap(), and whyFailed().
EDProduct const* edm::OutputHandle::wrap_ [private] |
Definition at line 110 of file OutputHandle.h.