#include <ProductHolder.h>
Public Member Functions | |
InputProductHolder (std::shared_ptr< BranchDescription const > bd, Principal *principal) | |
bool | productIsUnavailable () const |
void | setProduct (std::unique_ptr< WrapperBase > prod) const |
void | setProductUnavailable () const |
virtual | ~InputProductHolder () |
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 &) 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 | |
Principal * | principal_ |
ProductData | productData_ |
bool | productHasBeenDeleted_ |
bool | productIsUnavailable_ |
Additional Inherited Members | |
Public Types inherited from edm::ProductHolderBase | |
enum | ResolveStatus { ProductFound, ProductNotFound, Ambiguous } |
Definition at line 206 of file ProductHolder.h.
|
inlineexplicit |
Definition at line 208 of file ProductHolder.h.
|
virtual |
Definition at line 30 of file ProductHolder.cc.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 242 of file ProductHolder.h.
References edm::ProductData::branchDescription(), and edm::ProductHolderBase::productData().
|
inlineoverrideprivatevirtual |
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 239 of file ProductHolder.h.
References productData_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 240 of file ProductHolder.h.
References productData_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 177 of file ProductHolder.cc.
References assert().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 184 of file ProductHolder.cc.
References edm::ProductHolderBase::mergeTheProduct().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 236 of file ProductHolder.h.
|
inline |
Definition at line 217 of file ProductHolder.h.
References productIsUnavailable_.
Referenced by productUnavailable_().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 245 of file ProductHolder.cc.
References edm::Provenance::productProvenance(), and edm::ProductHolderBase::provenance().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 271 of file ProductHolder.cc.
References edm::WrapperBase::isPresent(), edm::ProductHolderBase::product(), productIsUnavailable(), and setProductUnavailable().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 238 of file ProductHolder.h.
References productHasBeenDeleted_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 189 of file ProductHolder.cc.
References edm::ProductHolderBase::product().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 166 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::product(), edm::ProductHolderBase::provenance(), setProduct(), and edm::ProductHolderBase::setProductProvenance().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 194 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::product(), and setProduct().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 243 of file ProductHolder.h.
References edm::ProductHolderBase::productData(), and edm::ProductData::resetBranchDescription().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 249 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::resetProductData(), and edm::ProductHolderBase::resetStatus().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 234 of file ProductHolder.h.
References productHasBeenDeleted_, and productIsUnavailable_.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 244 of file ProductHolder.h.
References edm::ProductHolderBase::moduleLabel().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 39 of file ProductHolder.cc.
References principal_, edm::ProductHolderBase::product(), productData_, edm::ProductHolderBase::ProductFound, edm::ProductHolderBase::ProductNotFound, edm::ProductHolderBase::productUnavailable(), edm::ProductHolderBase::productWasDeleted(), edm::Principal::readFromSource(), and edm::ProductHolderBase::throwProductDeletedException().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 258 of file ProductHolder.cc.
References cmsRelvalreport::principal(), and principal_.
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 241 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, and edm::Provenance::setProcessHistory().
void edm::InputProductHolder::setProduct | ( | std::unique_ptr< WrapperBase > | prod | ) | const |
Definition at line 227 of file ProductHolder.cc.
References assert(), edm::ProductHolderBase::product(), edm::ProductHolderBase::productData(), setProductUnavailable(), and edm::ProductData::wrapper_.
Referenced by putProduct_().
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 241 of file ProductHolder.h.
References productHasBeenDeleted_.
|
inline |
Definition at line 218 of file ProductHolder.h.
References productIsUnavailable_.
Referenced by productUnavailable_(), and setProduct().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 235 of file ProductHolder.cc.
References edm::ProductHolderBase::productData(), edm::ProductData::prov_, edm::Provenance::setProcessHistory(), edm::Provenance::setProductID(), and edm::Provenance::setStore().
|
overrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 254 of file ProductHolder.cc.
|
inlineoverrideprivatevirtual |
Implements edm::ProductHolderBase.
Definition at line 221 of file ProductHolder.h.
References productData_, productIsUnavailable_, edm::swap(), and std::swap().
|
private |
Definition at line 255 of file ProductHolder.h.
Referenced by resolveProduct_(), and setPrincipal_().
|
private |
Definition at line 252 of file ProductHolder.h.
Referenced by getProductData(), resolveProduct_(), and swap_().
|
mutableprivate |
Definition at line 254 of file ProductHolder.h.
Referenced by productWasDeleted_(), resetStatus_(), and setProductDeleted_().
|
mutableprivate |
Definition at line 253 of file ProductHolder.h.
Referenced by productIsUnavailable(), resetStatus_(), setProductUnavailable(), and swap_().