#include <DataFormats/Common/interface/FwdPtr.h>
Public Types | |
typedef unsigned long | key_type |
typedef T | value_type |
Public Member Functions | |
Ptr< value_type > const & | backPtr () const |
template<typename C > | |
FwdPtr (const Ptr< C > &f, const Ptr< C > &b) | |
FwdPtr () | |
T const * | get () const |
Returns C++ pointer to the item. More... | |
bool | hasProductCache () const |
ProductID | id () const |
Accessor for product ID. More... | |
bool | isAvailable () const |
bool | isNonnull () const |
Checks for non-null. More... | |
bool | isNull () const |
Checks for null. More... | |
bool | isTransient () const |
Checks if this FwdPtr is transient (i.e. not persistable). More... | |
key_type | key () const |
bool | operator! () const |
Checks for null. More... | |
T const & | operator* () const |
Dereference operator. More... | |
T const * | operator-> () const |
Member dereference operator. More... | |
void const * | product () const |
EDProductGetter const * | productGetter () const |
Accessor for product getter. More... | |
Ptr< value_type > const & | ptr () const |
RefCore const & | refCore () const |
~FwdPtr () | |
Destructor. More... | |
Static Public Member Functions | |
static short | Class_Version () |
Private Attributes | |
Ptr< value_type > | backPtr_ |
Ptr< value_type > | ptr_ |
Friends | |
class | FwdPtrVectorBase |
Description: Persistent 'pointer' to an item in a collection where the collection is in the edm::Event
Usage: <usage>
typedef unsigned long edm::FwdPtr< T >::key_type |
typedef T edm::FwdPtr< T >::value_type |
|
inline |
Definition at line 49 of file FwdPtr.h.
References cms::cuda::assert(), and edm::Ptr< T >::isNull().
|
inline |
|
inline |
|
inline |
Definition at line 117 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_.
Referenced by reco::PFCandidateWithSrcPtrFactory::operator()(), and TopProjectorFwdPtrOverlap< Top, Bottom >::operator()().
|
inlinestatic |
|
inline |
Returns C++ pointer to the item.
Definition at line 76 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::get(), edm::Ptr< T >::isAvailable(), and edm::FwdPtr< T >::ptr_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), rrapi.RRApi::count(), util.rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 109 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::hasProductCache(), and edm::FwdPtr< T >::ptr_.
|
inline |
Accessor for product ID.
Definition at line 95 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::id(), edm::Ptr< T >::isNonnull(), and edm::FwdPtr< T >::ptr_.
|
inline |
Checks if collection is in memory or available in the event. No type checking is done.
Definition at line 89 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isAvailable(), and edm::FwdPtr< T >::ptr_.
|
inline |
Checks for non-null.
Definition at line 83 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isNonnull(), and edm::FwdPtr< T >::ptr_.
Referenced by edm::FwdPtr< T >::isNull().
|
inline |
Checks for null.
Definition at line 79 of file FwdPtr.h.
References edm::FwdPtr< T >::isNonnull().
Referenced by edm::FwdPtr< T >::operator!().
|
inline |
Checks if this FwdPtr is transient (i.e. not persistable).
Definition at line 92 of file FwdPtr.h.
References edm::Ptr< T >::isTransient(), and edm::FwdPtr< T >::ptr_.
|
inline |
Definition at line 107 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isNonnull(), edm::Ptr< T >::key(), and edm::FwdPtr< T >::ptr_.
|
inline |
|
inline |
Dereference operator.
Definition at line 70 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isAvailable(), and edm::FwdPtr< T >::ptr_.
|
inline |
Member dereference operator.
Definition at line 73 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isAvailable(), and edm::FwdPtr< T >::ptr_.
|
inline |
|
inline |
Accessor for product getter.
Definition at line 98 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::productGetter(), and edm::FwdPtr< T >::ptr_.
|
inline |
Definition at line 116 of file FwdPtr.h.
References edm::FwdPtr< T >::ptr_.
Referenced by reco::PFCandidateWithSrcPtrFactory::operator()(), and TopProjectorFwdPtrOverlap< Top, Bottom >::operator()().
|
inline |
Definition at line 111 of file FwdPtr.h.
References edm::FwdPtr< T >::backPtr_, edm::Ptr< T >::isNonnull(), edm::FwdPtr< T >::ptr_, and edm::Ptr< T >::refCore().
|
private |
Definition at line 124 of file FwdPtr.h.
Referenced by edm::FwdPtr< T >::backPtr(), edm::FwdPtr< T >::get(), edm::FwdPtr< T >::hasProductCache(), edm::FwdPtr< T >::id(), edm::FwdPtr< T >::isAvailable(), edm::FwdPtr< T >::isNonnull(), edm::FwdPtr< T >::key(), edm::FwdPtr< T >::operator*(), edm::FwdPtr< T >::operator->(), edm::FwdPtr< T >::productGetter(), and edm::FwdPtr< T >::refCore().
|
private |
Definition at line 123 of file FwdPtr.h.
Referenced by edm::FwdPtr< T >::get(), edm::FwdPtr< T >::hasProductCache(), edm::FwdPtr< T >::id(), edm::FwdPtr< T >::isAvailable(), edm::FwdPtr< T >::isNonnull(), edm::FwdPtr< T >::isTransient(), edm::FwdPtr< T >::key(), edm::FwdPtr< T >::operator*(), edm::FwdPtr< T >::operator->(), edm::FwdPtr< T >::productGetter(), edm::FwdPtr< T >::ptr(), and edm::FwdPtr< T >::refCore().