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