Go to the documentation of this file. 1 #ifndef DataFormats_Common_FwdPtr_h
2 #define DataFormats_Common_FwdPtr_h
114 void const*
product()
const {
return nullptr; }
129 return (lhs.ptr() == rhs.ptr() || lhs.backPtr() == rhs.ptr() || lhs.ptr() == rhs.backPtr() ||
130 lhs.backPtr() == rhs.backPtr());
133 template <
typename T>
135 return !(lhs == rhs);
138 template <
typename T>
142 return (lhs.
ptr() < rhs.
ptr());
Ptr< value_type > backPtr_
bool hasProductCache() const
RefCore const & refCore() const
EDProductGetter const * productGetter() const
Accessor for product getter.
T const * get() const
Returns C++ pointer to the item.
Ptr< value_type > const & ptr() const
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
EDProductGetter const * productGetter() const
Accessor for product getter.
bool operator!() const
Checks for null.
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
RefCore const & refCore() const
bool isNonnull() const
Checks for non-null.
bool isTransient() const
Checks if this FwdPtr is transient (i.e. not persistable).
#define CMS_CLASS_VERSION(_version_)
ProductID id() const
Accessor for product ID.
bool isTransient() const
Checks if this Ptr is transient (i.e. not persistable).
friend class FwdPtrVectorBase
def template(fileName, svg, replaceme="REPLACEME")
bool hasProductCache() const
bool isNull() const
Checks for null.
T const * operator->() const
Member dereference operator.
ProductID id() const
Accessor for product ID.
T const * get() const
Returns C++ pointer to the item.
bool isNonnull() const
Checks for non-null.
Ptr< value_type > const & backPtr() const
T const & operator*() const
Dereference operator.
FwdPtr(const Ptr< C > &f, const Ptr< C > &b)
void const * product() const