1 #ifndef DataFormats_Common_RefProd_h 2 #define DataFormats_Common_RefProd_h 113 product_type
const*
get()
const {
198 return lhs.refCore() == rhs.refCore();
205 return !(lhs == rhs);
212 return(lhs.refCore() < rhs.refCore());
bool hasCache() const
Checks if product is in memory.
EDProductGetter const * mustBeNonZero(EDProductGetter const *prodGetter, std::string refType, ProductID const &productID)
RefProd()
Default constructor needed for reading from persistent store. Not for direct use. ...
bool operator!() const
Checks for null.
T const * product() const
#define CMS_CLASS_VERSION(_version_)
product_type const * operator->() const
Member dereference operator.
RefProd(Handle< C > const &handle)
General purpose constructor from handle.
void swap(Association< C > &lhs, Association< C > &rhs)
EDProductGetter const * productGetter() const
Accessor for product getter.
RefProd(OrphanHandle< C > const &handle)
General purpose constructor from orphan handle.
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
void checkTypeAtCompileTime(C const *)
product_type const * product() const
void const * productPtr() const
RefProd(TestHandle< C > const &handle)
General purpose constructor from test handle.
void swap(RefProd< C > &)
RefCore const & refCore() const
def template(fileName, svg, replaceme="REPLACEME")
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
ProductID id() const
Accessor for product ID.
bool isTransient() const
Checks if this RefProd is transient (i.e. not persistable).
bool isNull() const
Checks for null.
T const * product() const
edm::RefProd< Container > RefProd
product_type const & operator*() const
Dereference operator.
T const * product() const
EDProductGetter const * productGetter() const
RefProd(ProductID const &productID, EDProductGetter const *prodGetter)
RefProd(C const *iProduct)
Constructor for ref to object that is not in an event.
bool hasProductCache() const
Checks if product is in memory.
bool isNonnull() const
Checks for non-null.