![]() |
![]() |
#include <RefBase.h>
Public Types | |
typedef KEY | key_type |
Public Member Functions | |
bool | isNonnull () const |
bool | isNull () const |
bool | isValid () const |
Return true if this RefBase is non-null. | |
RefItem< KEY > const & | item () const |
Accessor for index and pointer. | |
RefBase (ProductID const &productID, void const *prodPtr, key_type itemKey, void const *itemPtr, EDProductGetter const *prodGetter, bool transient) | |
General purpose constructor. | |
RefBase () | |
Default constructor needed for reading from persistent store. Not for direct use. | |
RefBase (RefCore const &prod, RefItem< KEY > const &itm) | |
Constructor from RefVector. | |
RefCore const & | refCore () const |
Accessor for product ID and product getter. | |
Private Attributes | |
RefItem< KEY > | item_ |
RefCore | product_ |
typedef KEY edm::RefBase< KEY >::key_type |
edm::RefBase< KEY >::RefBase | ( | ) | [inline] |
edm::RefBase< KEY >::RefBase | ( | ProductID const & | productID, |
void const * | prodPtr, | ||
key_type | itemKey, | ||
void const * | itemPtr, | ||
EDProductGetter const * | prodGetter, | ||
bool | transient | ||
) | [inline] |
edm::RefBase< KEY >::RefBase | ( | RefCore const & | prod, |
RefItem< KEY > const & | itm | ||
) | [inline] |
bool edm::RefBase< KEY >::isNonnull | ( | ) | const [inline] |
Definition at line 50 of file RefBase.h.
Referenced by edm::Ref< NuclearInteractionCollection >::isNonnull().
{ return item_.isNonnull(); }
bool edm::RefBase< KEY >::isNull | ( | ) | const [inline] |
bool edm::RefBase< KEY >::isValid | ( | void | ) | const [inline] |
RefItem<KEY> const& edm::RefBase< KEY >::item | ( | ) | const [inline] |
Accessor for index and pointer.
Definition at line 41 of file RefBase.h.
Referenced by edm::Ref< NuclearInteractionCollection >::hasCache(), edm::Ref< NuclearInteractionCollection >::index(), edm::Ref< NuclearInteractionCollection >::key(), edm::operator==(), edm::RefVector< TrackingRecHitCollection >::push_back(), and edm::Ref< C, T, F >::Ref().
{return item_;}
RefCore const& edm::RefBase< KEY >::refCore | ( | ) | const [inline] |
Accessor for product ID and product getter.
Compiler-generated copy constructor, assignment operator, and destructor do the right thing.
Definition at line 38 of file RefBase.h.
Referenced by edm::Ref< NuclearInteractionCollection >::hasProductCache(), edm::Ref< NuclearInteractionCollection >::id(), edm::Ref< NuclearInteractionCollection >::isAvailable(), edm::Ref< NuclearInteractionCollection >::isTransient(), edm::operator==(), edm::Ref< NuclearInteractionCollection >::productGetter(), edm::RefVector< TrackingRecHitCollection >::push_back(), and edm::Ref< C, T, F >::Ref().
{ return product_;}
RefItem<KEY> edm::RefBase< KEY >::item_ [private] |
Definition at line 54 of file RefBase.h.
Referenced by edm::RefBase< key_type >::isNonnull(), edm::RefBase< key_type >::isNull(), edm::RefBase< key_type >::isValid(), and edm::RefBase< key_type >::item().
RefCore edm::RefBase< KEY >::product_ [private] |
Definition at line 53 of file RefBase.h.
Referenced by edm::RefBase< key_type >::refCore().