#include <ProductHolder.h>
Public Types | |
typedef ProducedProductHolder::ProductStatus | ProductStatus |
Public Types inherited from edm::ProductHolderBase | |
enum | ResolveStatus { ProductFound, ProductNotFound, Ambiguous } |
Public Member Functions | |
AliasProductHolder (std::shared_ptr< BranchDescription const > bd, ProducedProductHolder &realProduct) | |
ProductStatus & | status () const |
virtual | ~AliasProductHolder () |
Public Member Functions inherited from edm::ProductHolderBase | |
BranchDescription const & | branchDescription () const |
void | checkType (WrapperBase const &prod) const |
void | mergeProduct (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const |
void | mergeProduct (std::unique_ptr< WrapperBase > edp) const |
void | mergeTheProduct (std::unique_ptr< WrapperBase > edp) const |
std::string const & | moduleLabel () const |
bool | onDemand () const |
ProductHolderBase & | operator= (ProductHolderBase const &)=delete |
std::string const & | processName () const |
WrapperBase const * | product () const |
WrapperBase * | product () |
ProductData const & | productData () const |
ProductData & | productData () |
ProductHolderBase () | |
ProductHolderBase (ProductHolderBase const &)=delete | |
ProductID const & | productID () const |
std::string const & | productInstanceName () const |
ProductProvenance const * | productProvenancePtr () const |
TypeID | productType () const |
bool | productUnavailable () const |
bool | productWasDeleted () const |
Provenance const * | provenance () const |
bool | provenanceAvailable () const |
bool | putOrMergeProduct () const |
void | putProduct (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const |
void | putProduct (std::unique_ptr< WrapperBase > edp) const |
void | reallyCheckType (WrapperBase const &prod) const |
void | resetBranchDescription (std::shared_ptr< BranchDescription const > bd) |
void | resetProductData () |
void | resetStatus () |
std::string const & | resolvedModuleLabel () const |
ProductData const * | resolveProduct (ResolveStatus &resolveStatus, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
void | setProcessHistory (ProcessHistory const &ph) |
void | setProductDeleted () |
void | setProvenance (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) |
bool | singleProduct () const |
void | swap (ProductHolderBase &rhs) |
void | throwProductDeletedException () const |
void | unsafe_deleteProduct () const |
void | write (std::ostream &os) const |
virtual | ~ProductHolderBase () |
Private Member Functions | |
virtual BranchDescription const & | branchDescription_ () const override |
virtual void | checkType_ (WrapperBase const &prod) const override |
virtual ProductData const & | getProductData () const override |
virtual ProductData & | getProductData () override |
virtual void | mergeProduct_ (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const override |
virtual void | mergeProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual bool | onDemand_ () const override |
virtual ProductProvenance const * | productProvenancePtr_ () const override |
virtual bool | productUnavailable_ () const override |
virtual bool | productWasDeleted_ () const override |
virtual bool | putOrMergeProduct_ () const override |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) const override |
virtual void | putProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual void | resetBranchDescription_ (std::shared_ptr< BranchDescription const > bd) override |
virtual void | resetProductData_ () override |
virtual void | resetStatus_ () override |
virtual std::string const & | resolvedModuleLabel_ () const override |
virtual ProductData const * | resolveProduct_ (ResolveStatus &resolveStatus, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override |
virtual void | setProcessHistory_ (ProcessHistory const &ph) override |
virtual void | setProductDeleted_ () const override |
virtual void | setProvenance_ (ProductProvenanceRetriever const *provRetriever, ProcessHistory const &ph, ProductID const &pid) override |
virtual bool | singleProduct_ () const override |
virtual void | swap_ (ProductHolderBase &rhs) override |
Private Attributes | |
std::shared_ptr < BranchDescription const > | bd_ |
ProducedProductHolder & | realProduct_ |
Definition at line 394 of file ProductHolder.h.
Definition at line 396 of file ProductHolder.h.
|
inlineexplicit |
Definition at line 397 of file ProductHolder.h.
|
virtual |
Definition at line 35 of file ProductHolder.cc.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 434 of file ProductHolder.h.
References bd_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 415 of file ProductHolder.h.
References edm::ProductHolderBase::checkType(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 416 of file ProductHolder.h.
References edm::ProductHolderBase::productData(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 417 of file ProductHolder.h.
References edm::ProductHolderBase::productData(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 425 of file ProductHolder.h.
References edm::ProductHolderBase::mergeProduct(), eostools::move(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 428 of file ProductHolder.h.
References edm::ProductHolderBase::mergeProduct(), eostools::move(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 411 of file ProductHolder.h.
References edm::ProductHolderBase::onDemand(), and realProduct_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 416 of file ProductHolder.cc.
References edm::Provenance::productProvenance(), and edm::ProductHolderBase::provenance().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 413 of file ProductHolder.h.
References edm::ProductHolderBase::productUnavailable(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 414 of file ProductHolder.h.
References edm::ProductHolderBase::productWasDeleted(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 431 of file ProductHolder.h.
References edm::ProductHolderBase::putOrMergeProduct(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 419 of file ProductHolder.h.
References eostools::move(), edm::ProductHolderBase::putProduct(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 422 of file ProductHolder.h.
References eostools::move(), edm::ProductHolderBase::putProduct(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 435 of file ProductHolder.h.
References bd_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 420 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::resetProductData(), and edm::ProductHolderBase::resetStatus().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 412 of file ProductHolder.h.
References realProduct_, and edm::ProductHolderBase::resetStatus().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 436 of file ProductHolder.h.
References edm::ProductHolderBase::moduleLabel(), and realProduct_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 406 of file ProductHolder.h.
References realProduct_, and edm::ProductHolderBase::resolveProduct().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 412 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), and edm::ProductData::setProcessHistory().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 418 of file ProductHolder.h.
References realProduct_, and edm::ProductHolderBase::setProductDeleted().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 408 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), and edm::ProductData::setProvenance().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 425 of file ProductHolder.cc.
|
inline |
Definition at line 399 of file ProductHolder.h.
References realProduct_, and edm::ProducedProductHolder::status().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 401 of file ProductHolder.h.
References bd_, realProduct_, edm::ProductHolderBase::swap(), and std::swap().
|
private |
Definition at line 444 of file ProductHolder.h.
Referenced by branchDescription_(), resetBranchDescription_(), and swap_().
|
private |
Definition at line 443 of file ProductHolder.h.
Referenced by checkType_(), getProductData(), mergeProduct_(), onDemand_(), productUnavailable_(), productWasDeleted_(), putOrMergeProduct_(), putProduct_(), resetStatus_(), resolvedModuleLabel_(), resolveProduct_(), setProductDeleted_(), status(), and swap_().