#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 63 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 217 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 patZpeak::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 228 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 205 of file RefToBaseProd.h.
References edm::fillView(), edm::RefProd< T >::id(), edm::RefProd< T >::product(), edm::RefToBaseProd< T >::product_, edm::RefCore::productGetter(), edm::RefProd< T >::refCore(), and edm::RefCore::setProductPtr().
|
inline |
Definition at line 238 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(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), 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!(), and edm::RefToBaseProd< reco::GsfElectronCore >::product().
|
inline |
|
inline |
Dereference operator.
Definition at line 131 of file RefToBaseProd.h.
|
inline |
Member dereference operator.
Definition at line 139 of file RefToBaseProd.h.
References edm::WrapperBase::fillView(), edm::ProductID::id(), edm::errors::InvalidReference, parseEventContent::prod, edm::Exception::throwThis(), and tmp.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::get(), and edm::RefToBaseProd< reco::GsfElectronCore >::product().
|
inline |
Definition at line 122 of file RefToBaseProd.h.
References edm::swap(), and groupFilesInBlocks::temp.
|
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 167 of file RefToBaseProd.h.
References std::swap().
Referenced by edm::swap().
|
inlineprivate |
Definition at line 97 of file RefToBaseProd.h.
Referenced by 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< reco::GsfElectronCore >::productGetter(), edm::RefToBaseProd< reco::GsfElectronCore >::refCore(), edm::RefToBaseProd< T >::RefToBaseProd(), and edm::RefToBaseProd< reco::GsfElectronCore >::viewPtr().