#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... | |
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 |
Destructor.
Definition at line 47 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::viewPtr().
|
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(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inline |
Checks if product is in memory.
Definition at line 83 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productPtr().
|
inline |
Accessor for product ID.
Definition at line 77 of file RefToBaseProd.h.
References edm::RefCore::id(), and edm::RefToBaseProd< T >::product_.
Referenced by edm::RefToBaseProd< T >::isNonnull().
|
inline |
Checks for non-null.
Definition at line 71 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::id(), and edm::ProductID::isValid().
Referenced by edm::RefToBaseProd< T >::isNull().
|
inline |
Checks for null.
Definition at line 68 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 74 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::isNull().
|
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< T >::get(), and edm::RefToBaseProd< T >::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.
References edm::RefToBaseProd< T >::isNull(), and edm::RefToBaseProd< T >::operator->().
|
inline |
Accessor for product getter.
Definition at line 80 of file RefToBaseProd.h.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productGetter().
|
inlineprivate |
|
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.
References edm::RefToBaseProd< T >::product_, and edm::RefCore::productPtr().
Referenced by edm::RefToBaseProd< T >::~RefToBaseProd().
|
mutableprivate |
Definition at line 102 of file RefToBaseProd.h.
Referenced by edm::RefToBaseProd< T >::hasCache(), edm::RefToBaseProd< T >::id(), edm::RefToBaseProd< T >::productGetter(), edm::RefToBaseProd< T >::refCore(), edm::RefToBaseProd< T >::RefToBaseProd(), and edm::RefToBaseProd< T >::viewPtr().