|
|
Go to the documentation of this file. 1 #ifndef DataFormats_Common_FwdRef_h
2 #define DataFormats_Common_FwdRef_h
118 template <
typename C,
128 typedef typename boost::binary_traits<F>::second_argument_type
argument_type;
152 if (
ref_.isAvailable()) {
206 #include "DataFormats/Common/interface/RefProd.h"
211 template <
typename C,
typename T,
typename F>
217 template <
typename C,
typename T,
typename F>
224 template <
typename C,
typename T,
typename F>
231 template <
typename C,
typename T,
typename F>
233 return (lhs == rhs.
ref()) || (lhs == rhs.
backRef());
238 template <
typename C,
typename T,
typename F>
240 return (lhs.
ref() == rhs) || (lhs.
backRef() == rhs);
243 template <
typename C,
typename T,
typename F>
245 return !(lhs == rhs);
248 template <
typename C,
typename T,
typename F>
250 return !(lhs == rhs);
253 template <
typename C,
typename T,
typename F>
255 return !(lhs == rhs);
260 template <
typename C,
typename T,
typename F>
262 return (lhs.
ref() < rhs.
ref());
265 template <
typename C,
typename T,
typename F>
267 return (lhs < rhs.
ref());
270 template <
typename C,
typename T,
typename F>
272 return (lhs.
ref() < rhs);
FwdRef(Ref< C, T, F > const &ref, Ref< C, T, F > const &backRef)
General purpose constructor from 2 refs (forward and backward.
key_type key() const
Accessor for product key.
T const * operator->() const
Member dereference operator.
bool isNonnull() const
Checks for non-null.
bool isNull() const
Checks for null.
T const & operator*() const
Dereference operator.
T const * get() const
Returns C++ pointer to the item.
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
bool hasProductCache() const
FwdRef()
Default constructor needed for reading from persistent store. Not for direct use.
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
bool operator==(debugging_allocator< X > const &, debugging_allocator< Y > const &) noexcept
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
#define CMS_CLASS_VERSION(_version_)
bool isTransient() const
Checks if this ref is transient (i.e. not persistable).
boost::remove_cv< typename boost::remove_reference< argument_type >::type >::type key_type
Ref< C, T, F > const & backRef() const
bool operator!() const
Checks for null.
ProductID id() const
Accessor for product ID.
Ref< C, T, F > const & ref() const
boost::binary_traits< F >::second_argument_type argument_type
FindUsingAdvance< C, T > value
EDProductGetter const * productGetter() const
Accessor for product getter.