|
|
Go to the documentation of this file. 1 #ifndef DataFormats_Common_FwdRef_h
2 #define DataFormats_Common_FwdRef_h
116 #include <boost/functional.hpp>
120 template <
typename C,
130 typedef typename boost::binary_traits<F>::second_argument_type
argument_type;
154 if (
ref_.isAvailable()) {
208 #include "DataFormats/Common/interface/RefProd.h"
213 template <
typename C,
typename T,
typename F>
219 template <
typename C,
typename T,
typename F>
226 template <
typename C,
typename T,
typename F>
233 template <
typename C,
typename T,
typename F>
235 return (lhs == rhs.
ref()) || (lhs == rhs.
backRef());
240 template <
typename C,
typename T,
typename F>
242 return (lhs.
ref() == rhs) || (lhs.
backRef() == rhs);
245 template <
typename C,
typename T,
typename F>
247 return !(lhs == rhs);
250 template <
typename C,
typename T,
typename F>
252 return !(lhs == rhs);
255 template <
typename C,
typename T,
typename F>
257 return !(lhs == rhs);
262 template <
typename C,
typename T,
typename F>
264 return (lhs.
ref() < rhs.
ref());
267 template <
typename C,
typename T,
typename F>
269 return (lhs < rhs.
ref());
272 template <
typename C,
typename T,
typename F>
274 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).
std::remove_cv< typename std::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.