#include <RefToBase.h>
Public Types | |
typedef View< T > | product_type |
Public Member Functions | |
product_type const * | get () const |
bool | hasCache () const |
Checks if product is in memory. More... | |
ProductID | id () const |
Accessor for product ID. More... | |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. More... | |
bool | isNull () const |
Checks for null. More... | |
bool | operator! () const |
Checks for null. More... | |
product_type const & | operator* () const |
Dereference operator. More... | |
product_type const * | operator-> () const |
Member dereference operator. More... | |
RefToBaseProd< T > & | operator= (const RefToBaseProd< T > &other) |
product_type const * | product () const |
EDProductGetter const * | productGetter () const |
Accessor for product getter. More... | |
RefToBaseProd () | |
Default constructor needed for reading from persistent store. Not for direct use. More... | |
template<typename C > | |
RefToBaseProd (Handle< C > const &handle) | |
RefToBaseProd (Handle< View< T >> const &handle) | |
template<typename C > | |
RefToBaseProd (OrphanHandle< C > const &handle) | |
RefToBaseProd (const RefToBaseProd< T > &) | |
template<typename C > | |
RefToBaseProd (const RefProd< C > &) | |
RefToBaseProd (ProductID const &, EDProductGetter const *) | |
void | swap (RefToBaseProd< T > &) |
~RefToBaseProd () | |
Destructor. More... | |
Static Public Member Functions | |
static short | Class_Version () |
Private Member Functions | |
RefCore const & | refCore () const |
View< T > const * | viewPtr () const |
Private Attributes | |
RefCore | product_ |
Definition at line 65 of file RefToBase.h.
typedef View<T> edm::RefToBaseProd< T >::product_type |
Definition at line 31 of file RefToBaseProd.h.
|
inline |
Default constructor needed for reading from persistent store. Not for direct use.
Definition at line 34 of file RefToBaseProd.h.
|
inlineexplicit |
Definition at line 193 of file RefToBaseProd.h.
References edm::fillView(), patZpeak::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 103 of file RefToBaseProd.h.
References patZpeak::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 203 of file RefToBaseProd.h.
References edm::fillView(), patZpeak::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inline |
Definition at line 109 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, edm::RefCore::productPtr(), and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 184 of file RefToBaseProd.h.
References edm::fillView(), edm::RefProd< C >::id(), edm::RefProd< C >::product(), edm::RefToBaseProd< T >::product_, edm::RefProd< C >::refCore(), and edm::RefCore::setProductPtr().
|
inline |
Definition at line 212 of file RefToBaseProd.h.
|
inline |
Destructor.
Definition at line 47 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::viewPtr().
|
inlinestatic |
Definition at line 92 of file RefToBaseProd.h.
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 57 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::isNull(), and edm::RefToBaseProd< T >::operator->().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Checks if product is in memory.
Definition at line 85 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productPtr().
|
inline |
Accessor for product ID.
Definition at line 79 of file RefToBaseProd.h.
References edm::RefCore::id(), and edm::RefToBaseProd< T >::product_.
|
inline |
Checks if collection is in memory or available in the Event. No type checking is done. This function is potentially costly as it might cause a disk read (note that it does not cause the data to be cached locally)
Definition at line 73 of file RefToBaseProd.h.
References edm::RefCore::isAvailable(), and edm::RefToBaseProd< T >::product_.
|
inline |
Checks for non-null.
Definition at line 67 of file RefToBaseProd.h.
References edm::RefCore::isNonnull(), and edm::RefToBaseProd< T >::product_.
Referenced by edm::RefToBaseProd< T >::isNull().
|
inline |
Checks for null.
Definition at line 64 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::isNonnull().
Referenced by edm::RefToBaseProd< T >::get(), edm::RefToBaseProd< T >::operator!(), and edm::RefToBaseProd< T >::product().
|
inline |
Checks for null.
Definition at line 76 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::isNull().
|
inline |
Dereference operator.
Definition at line 124 of file RefToBaseProd.h.
|
inline |
Member dereference operator.
Definition at line 130 of file RefToBaseProd.h.
References edm::ProductID::id(), edm::errors::InvalidReference, copyEcalPFRecHitThresholds_cfg::prod, edm::Exception::throwThis(), and createJobs::tmp.
Referenced by edm::RefToBaseProd< T >::get(), and edm::RefToBaseProd< T >::product().
|
inline |
Definition at line 116 of file RefToBaseProd.h.
References trackingPlots::other, edm::swap(), and groupFilesInBlocks::temp.
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 61 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::isNull(), and edm::RefToBaseProd< T >::operator->().
|
inline |
Accessor for product getter.
Definition at line 82 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productGetter().
|
inlineprivate |
|
inline |
Definition at line 154 of file RefToBaseProd.h.
References trackingPlots::other, and edm::swap().
Referenced by edm::swap().
|
inlineprivate |
Definition at line 97 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productPtr().
Referenced by edm::RefToBaseProd< T >::~RefToBaseProd().
|
private |
Definition at line 99 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< T >::hasCache(), edm::RefToBaseProd< T >::id(), edm::RefToBaseProd< T >::isAvailable(), edm::RefToBaseProd< T >::isNonnull(), edm::RefToBaseProd< T >::productGetter(), edm::RefToBaseProd< T >::refCore(), edm::RefToBaseProd< T >::RefToBaseProd(), and edm::RefToBaseProd< T >::viewPtr().