#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<class HandleC > | |
RefToBaseProd (HandleC const &handle) | |
General purpose constructor from handle-like object. More... | |
RefToBaseProd (Handle< View< T > > const &handle) | |
template<typename C , typename F > | |
RefToBaseProd (Ref< C, T, F > const &ref) | |
Constructor from Ref<C,T,F> More... | |
RefToBaseProd (RefToBase< T > const &ref) | |
Constructor from RefToBase. More... | |
RefToBaseProd (const View< T > &) | |
RefToBaseProd (const RefToBaseProd< T > &) | |
template<typename C > | |
RefToBaseProd (const RefProd< C > &) | |
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 62 of file RefToBase.h.
typedef View<T> edm::RefToBaseProd< T >::product_type |
Definition at line 24 of file RefToBaseProd.h.
|
inline |
Default constructor needed for reading from persistent store. Not for direct use.
Definition at line 27 of file RefToBaseProd.h.
|
inlineexplicit |
General purpose constructor from handle-like object.
Definition at line 244 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, edm::detail::reallyFillView(), and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 132 of file RefToBaseProd.h.
References patZpeak::handle, edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Constructor from Ref<C,T,F>
Constructor from Ref.
Definition at line 258 of file RefToBaseProd.h.
References edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::product(), edm::RefToBaseProd< T >::product_, edm::detail::reallyFillView(), and edm::RefCore::setProductPtr().
|
inlineexplicit |
Constructor from RefToBase.
Definition at line 274 of file RefToBaseProd.h.
References edm::RefToBase< T >::holder_, edm::RefToBase< T >::id(), edm::RefToBase< T >::product(), edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inlineexplicit |
Definition at line 140 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::setProductPtr().
|
inline |
Definition at line 147 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, edm::RefCore::productPtr(), and edm::RefCore::setProductPtr().
|
inline |
Definition at line 231 of file RefToBaseProd.h.
References edm::RefProd< T >::id(), edm::RefProd< T >::product(), edm::RefToBaseProd< T >::product_, edm::detail::reallyFillView(), and edm::RefCore::setProductPtr().
|
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 |
Accessor for product ID.
Definition at line 77 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::isNonnull().
|
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 165 of file RefToBaseProd.h.
|
inline |
Member dereference operator.
Definition at line 172 of file RefToBaseProd.h.
References edm::WrapperHolder::fillView(), edm::ProductID::id(), edm::errors::InvalidReference, edm::WrapperHolder::isValid(), and edm::Exception::throwThis().
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::get(), and edm::RefToBaseProd< reco::GsfElectronCore >::product().
|
inline |
Definition at line 156 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 194 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().
|
mutableprivate |
Definition at line 102 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< reco::GsfElectronCore >::hasCache(), edm::RefToBaseProd< reco::GsfElectronCore >::id(), edm::RefToBaseProd< reco::GsfElectronCore >::productGetter(), edm::RefToBaseProd< reco::GsfElectronCore >::refCore(), edm::RefToBaseProd< T >::RefToBaseProd(), and edm::RefToBaseProd< reco::GsfElectronCore >::viewPtr().