#include <ProductHolder.h>
Public Types | |
typedef ProducedProductHolder::ProductStatus | ProductStatus |
Public Types inherited from edm::ProductHolderBase | |
enum | ResolveStatus { ProductFound, ProductNotFound, Ambiguous } |
Public Member Functions | |
NoProcessProductHolder (std::vector< ProductHolderIndex > const &matchingHolders, std::vector< bool > const &ambiguous, Principal *principal) | |
virtual | ~NoProcessProductHolder () |
Public Member Functions inherited from edm::ProductHolderBase | |
BranchDescription const & | branchDescription () const |
void | checkType (WrapperBase const &prod) const |
void | deleteProduct () |
void | mergeProduct (std::unique_ptr< WrapperBase > edp, ProductProvenance &productProvenance) |
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 * | product () const |
ProductData const & | productData () const |
ProductData & | productData () |
ProductHolderBase () | |
ProductHolderBase (ProductHolderBase const &)=delete | |
ProductID const & | productID () const |
std::string const & | productInstanceName () const |
ProductProvenance * | productProvenancePtr () const |
TypeID | productType () const |
bool | productUnavailable () const |
bool | productWasDeleted () const |
Provenance * | provenance () const |
bool | provenanceAvailable () const |
bool | putOrMergeProduct () const |
void | putProduct (std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) |
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, bool skipCurrentProcess, ModuleCallingContext const *mcc) const |
void | setPrincipal (Principal *principal) |
void | setProcessHistory (ProcessHistory const &ph) |
void | setProductDeleted () |
void | setProductProvenance (ProductProvenance const &prov) const |
void | setProvenance (std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) |
bool | singleProduct () const |
void | swap (ProductHolderBase &rhs) |
void | throwProductDeletedException () 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 &productProvenance) override |
virtual void | mergeProduct_ (std::unique_ptr< WrapperBase > edp) const override |
virtual bool | onDemand_ () const override |
virtual ProductProvenance * | 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) 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, bool skipCurrentProcess, ModuleCallingContext const *mcc) const override |
virtual void | setPrincipal_ (Principal *principal) override |
virtual void | setProcessHistory_ (ProcessHistory const &ph) override |
virtual void | setProductDeleted_ () override |
virtual void | setProvenance_ (std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override |
virtual bool | singleProduct_ () const override |
virtual void | swap_ (ProductHolderBase &rhs) override |
Private Attributes | |
std::vector< bool > | ambiguous_ |
std::vector< ProductHolderIndex > | matchingHolders_ |
Principal * | principal_ |
Definition at line 432 of file ProductHolder.h.
Definition at line 434 of file ProductHolder.h.
edm::NoProcessProductHolder::NoProcessProductHolder | ( | std::vector< ProductHolderIndex > const & | matchingHolders, |
std::vector< bool > const & | ambiguous, | ||
Principal * | principal | ||
) |
Definition at line 382 of file ProductHolder.cc.
References ambiguous_, assert(), and matchingHolders_.
|
virtual |
Definition at line 36 of file ProductHolder.cc.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 543 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 531 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 391 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 397 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 513 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 519 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 483 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 466 of file ProductHolder.cc.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 489 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 495 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 525 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 501 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 507 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 549 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 458 of file ProductHolder.h.
References edm::ProductHolderBase::moduleLabel().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 403 of file ProductHolder.cc.
References edm::ProductHolderBase::Ambiguous, ambiguous_, assert(), edm::Principal::getProductHolderByIndex(), relval_steps::k, edm::Principal::lookupProcessOrder(), matchingHolders_, principal_, edm::ProductHolderIndexInvalid, edm::ProductHolderBase::ProductNotFound, and edm::ProductHolderBase::resolveProduct().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 477 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 537 of file ProductHolder.cc.
References Exception, and edm::errors::LogicError.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 473 of file ProductHolder.cc.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 450 of file ProductHolder.cc.
References ambiguous_, matchingHolders_, principal_, and std::swap().
|
private |
Definition at line 467 of file ProductHolder.h.
Referenced by NoProcessProductHolder(), resolveProduct_(), and swap_().
|
private |
Definition at line 466 of file ProductHolder.h.
Referenced by NoProcessProductHolder(), resolveProduct_(), and swap_().
|
private |
Definition at line 468 of file ProductHolder.h.
Referenced by resolveProduct_(), and swap_().