#include <FwdRef.h>
Public Types | |
typedef boost::binary_traits < F >::second_argument_type | argument_type |
typedef T const | element_type |
typedef F | finder_type |
typedef boost::remove_cv < typename boost::remove_reference < argument_type >::type > ::type | key_type |
typedef C | product_type |
for export | |
typedef T | value_type |
Public Member Functions | |
Ref< C, T, F > const & | backRef () const |
FwdRef () | |
Default constructor needed for reading from persistent store. Not for direct use. | |
FwdRef (Ref< C, T, F > const &ref, Ref< C, T, F > const &backRef) | |
General purpose constructor from 2 refs (forward and backward. | |
T const * | get () const |
Returns C++ pointer to the item. | |
bool | hasCache () const |
bool | hasProductCache () const |
ProductID | id () const |
Accessor for product ID. | |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. | |
bool | isNull () const |
Checks for null. | |
bool | isTransient () const |
Checks if this ref is transient (i.e. not persistable). | |
key_type | key () const |
Accessor for product key. | |
bool | operator! () const |
Checks for null. | |
T const & | operator* () const |
Dereference operator. | |
T const * | operator-> () const |
Member dereference operator. | |
C const * | product () const |
Accessor for product collection. | |
EDProductGetter const * | productGetter () const |
Accessor for product getter. | |
Ref< C, T, F > const & | ref () const |
~FwdRef () | |
Destructor. | |
Private Attributes | |
Ref< C, T, F > | backRef_ |
Ref< C, T, F > | ref_ |
typedef boost::binary_traits<F>::second_argument_type edm::FwdRef< C, T, F >::argument_type |
typedef T const edm::FwdRef< C, T, F >::element_type |
typedef F edm::FwdRef< C, T, F >::finder_type |
typedef boost::remove_cv<typename boost::remove_reference<argument_type>::type>::type edm::FwdRef< C, T, F >::key_type |
typedef C edm::FwdRef< C, T, F >::product_type |
typedef T edm::FwdRef< C, T, F >::value_type |
edm::FwdRef< C, T, F >::FwdRef | ( | ) | [inline] |
edm::FwdRef< C, T, F >::FwdRef | ( | Ref< C, T, F > const & | ref, |
Ref< C, T, F > const & | backRef | ||
) | [inline] |
edm::FwdRef< C, T, F >::~FwdRef | ( | ) | [inline] |
Ref<C,T,F> const& edm::FwdRef< C, T, F >::backRef | ( | ) | const [inline] |
Definition at line 178 of file FwdRef.h.
Referenced by edm::operator==(), and pat::Jet::updateFwdGenJetFwdRef().
{ return backRef_; }
T const* edm::FwdRef< C, T, F >::get | ( | void | ) | const [inline] |
bool edm::FwdRef< C, T, F >::hasCache | ( | ) | const [inline] |
bool edm::FwdRef< C, T, F >::hasProductCache | ( | ) | const [inline] |
ProductID edm::FwdRef< C, T, F >::id | ( | void | ) | const [inline] |
bool edm::FwdRef< C, T, F >::isAvailable | ( | ) | const [inline] |
bool edm::FwdRef< C, T, F >::isNonnull | ( | ) | const [inline] |
Checks for non-null.
Definition at line 172 of file FwdRef.h.
Referenced by edm::FwdRef< reco::GenJetCollection >::isNull().
bool edm::FwdRef< C, T, F >::isNull | ( | ) | const [inline] |
Checks for null.
Definition at line 168 of file FwdRef.h.
Referenced by edm::FwdRef< reco::GenJetCollection >::operator!().
{return !isNonnull(); }
bool edm::FwdRef< C, T, F >::isTransient | ( | ) | const [inline] |
key_type edm::FwdRef< C, T, F >::key | ( | ) | const [inline] |
bool edm::FwdRef< C, T, F >::operator! | ( | ) | const [inline] |
T const & edm::FwdRef< C, T, F >::operator* | ( | ) | const [inline] |
T const * edm::FwdRef< C, T, F >::operator-> | ( | ) | const [inline] |
C const * edm::FwdRef< C, T, F >::product | ( | ) | const [inline] |
EDProductGetter const* edm::FwdRef< C, T, F >::productGetter | ( | ) | const [inline] |
Ref<C,T,F> const& edm::FwdRef< C, T, F >::ref | ( | ) | const [inline] |
Ref<C,T,F> edm::FwdRef< C, T, F >::backRef_ [private] |
Definition at line 210 of file FwdRef.h.
Referenced by edm::FwdRef< reco::GenJetCollection >::backRef(), edm::FwdRef< reco::GenJetCollection >::get(), edm::FwdRef< reco::GenJetCollection >::hasCache(), edm::FwdRef< reco::GenJetCollection >::hasProductCache(), edm::FwdRef< reco::GenJetCollection >::id(), edm::FwdRef< reco::GenJetCollection >::isAvailable(), edm::FwdRef< reco::GenJetCollection >::isNonnull(), edm::FwdRef< reco::GenJetCollection >::key(), and edm::FwdRef< reco::GenJetCollection >::productGetter().
Ref<C,T,F> edm::FwdRef< C, T, F >::ref_ [private] |
Definition at line 209 of file FwdRef.h.
Referenced by edm::FwdRef< reco::GenJetCollection >::get(), edm::FwdRef< reco::GenJetCollection >::hasCache(), edm::FwdRef< reco::GenJetCollection >::hasProductCache(), edm::FwdRef< reco::GenJetCollection >::id(), edm::FwdRef< reco::GenJetCollection >::isAvailable(), edm::FwdRef< reco::GenJetCollection >::isNonnull(), edm::FwdRef< reco::GenJetCollection >::isTransient(), edm::FwdRef< reco::GenJetCollection >::key(), edm::FwdRef< reco::GenJetCollection >::productGetter(), and edm::FwdRef< reco::GenJetCollection >::ref().