#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 | 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 61 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.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::RefToBaseProd().
|
inlineexplicit |
Definition at line 213 of file RefToBaseProd.h.
References edm::fillView(), edm::HandleBase::id(), edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 106 of file RefToBaseProd.h.
References cmsBatch::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 224 of file RefToBaseProd.h.
References edm::fillView(), edm::OrphanHandleBase::id(), edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inline |
Definition at line 113 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, edm::RefCore::productPtr(), and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 202 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 234 of file RefToBaseProd.h.
|
inline |
|
inlinestatic |
Definition at line 90 of file RefToBaseProd.h.
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 57 of file RefToBaseProd.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
|
inline |
|
inline |
Checks for non-null.
Definition at line 71 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::isNull().
|
inline |
Checks for null.
Definition at line 68 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::get(), edm::RefToBaseProd< reco::GsfElectronCore >::operator!(), JetChargeProducer::produce(), and edm::RefToBaseProd< reco::GsfElectronCore >::product().
|
inline |
|
inline |
Dereference operator.
Definition at line 131 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::operator->().
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::~RefToBaseProd().
|
inline |
Member dereference operator.
Definition at line 138 of file RefToBaseProd.h.
References edm::WrapperBase::fillView(), edm::RefCore::id(), edm::errors::InvalidReference, edm::RefCore::isNull(), parseEventContent::prod, edm::RefToBaseProd< T >::product_, edm::RefCore::productGetter(), edm::Exception::throwThis(), tmp, edm::RefCore::tryToSetProductPtrForFirstTime(), and edm::RefToBaseProd< T >::viewPtr().
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::get(), edm::RefToBaseProd< T >::operator*(), edm::RefToBaseProd< reco::GsfElectronCore >::product(), and edm::RefToBaseProd< reco::GsfElectronCore >::~RefToBaseProd().
|
inline |
Definition at line 122 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::swap(), and groupFilesInBlocks::temp.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::hasCache().
|
inline |
Returns C++ pointer to the product Will attempt to retrieve product
Definition at line 63 of file RefToBaseProd.h.
|
inline |
|
inlineprivate |
Definition at line 93 of file RefToBaseProd.h.
|
inline |
Definition at line 165 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::swap().
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::hasCache(), edm::RefToBaseProd< T >::operator=(), and edm::swap().
|
inlineprivate |
Definition at line 97 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< T >::operator->(), and edm::RefToBaseProd< reco::GsfElectronCore >::~RefToBaseProd().
|
private |
Definition at line 101 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::hasCache(), edm::RefToBaseProd< reco::GsfElectronCore >::id(), edm::RefToBaseProd< reco::GsfElectronCore >::isNonnull(), edm::RefToBaseProd< T >::operator->(), edm::RefToBaseProd< reco::GsfElectronCore >::productGetter(), edm::RefToBaseProd< reco::GsfElectronCore >::refCore(), edm::RefToBaseProd< T >::RefToBaseProd(), edm::RefToBaseProd< T >::swap(), and edm::RefToBaseProd< reco::GsfElectronCore >::viewPtr().