#include <RefHolder_.h>
Public Member Functions | |
virtual RefHolderBase * | clone () const |
virtual bool | fillRefIfMyTypeMatches (RefHolderBase &fillme, std::string &msg) const |
REF const & | getRef () const |
virtual bool | hasProductCache () const |
virtual ProductID | id () const |
virtual bool | isAvailable () const |
virtual bool | isEqualTo (RefHolderBase const &rhs) const |
virtual size_t | key () const |
virtual std::auto_ptr < RefVectorHolderBase > | makeVectorHolder () const |
virtual void const * | product () const |
virtual EDProductGetter const * | productGetter () const |
RefHolder () | |
RefHolder (REF const &ref) | |
void | setRef (REF const &r) |
void | swap (RefHolder &other) |
virtual | ~RefHolder () |
Private Member Functions | |
virtual void const * | pointerToType (TypeWithDict const &iToType) const |
Private Attributes | |
REF | ref_ |
Definition at line 19 of file RefHolder_.h.
edm::reftobase::RefHolder< REF >::RefHolder | ( | ) |
Definition at line 55 of file RefHolder_.h.
: RefHolderBase(), ref_() { }
edm::reftobase::RefHolder< REF >::RefHolder | ( | REF const & | ref | ) | [explicit] |
Definition at line 60 of file RefHolder_.h.
: RefHolderBase(), ref_(ref) { }
edm::reftobase::RefHolder< REF >::~RefHolder | ( | ) | [virtual] |
Definition at line 65 of file RefHolder_.h.
{ }
RefHolderBase * edm::reftobase::RefHolder< REF >::clone | ( | void | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 70 of file RefHolder_.h.
bool edm::reftobase::RefHolder< REF >::fillRefIfMyTypeMatches | ( | RefHolderBase & | fillme, |
std::string & | msg | ||
) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 92 of file RefHolder_.h.
References h, mergeVDriftHistosByStation::name, and edm::reftobase::RefHolder< REF >::setRef().
REF const & edm::reftobase::RefHolder< REF >::getRef | ( | ) | const [inline] |
Definition at line 107 of file RefHolder_.h.
Referenced by edm::RefToBase< T >::castTo(), edm::reftobase::RefHolder< REF >::isEqualTo(), and edm::reftobase::RefVectorHolder< REFV >::push_back().
{ return ref_; }
bool edm::reftobase::RefHolder< REF >::hasProductCache | ( | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 118 of file RefHolder_.h.
{ return ref_.hasProductCache(); }
ProductID edm::reftobase::RefHolder< REF >::id | ( | void | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 77 of file RefHolder_.h.
References edm::ProductID::id().
{ return ref_.id(); }
virtual bool edm::reftobase::RefHolder< REF >::isAvailable | ( | ) | const [inline, virtual] |
Checks if product collection is in memory or available in the Event. No type checking is done.
Implements edm::reftobase::RefHolderBase.
Definition at line 41 of file RefHolder_.h.
References edm::reftobase::RefHolder< REF >::ref_.
{ return ref_.isAvailable(); }
bool edm::reftobase::RefHolder< REF >::isEqualTo | ( | RefHolderBase const & | rhs | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 84 of file RefHolder_.h.
References edm::reftobase::RefHolder< REF >::getRef(), edm::getRef(), and h.
size_t edm::reftobase::RefHolder< REF >::key | ( | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 27 of file RefHolder.h.
References combine::key.
{ typedef typename RefKeyTrait<REF>::type helper; return helper::key( ref_ ); }
std::auto_ptr< RefVectorHolderBase > edm::reftobase::RefHolder< REF >::makeVectorHolder | ( | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 14 of file RefHolder.h.
{ typedef typename RefHolderToRefVectorTrait<REF>::type helper; return helper::makeVectorHolder(); }
void const * edm::reftobase::RefHolder< REF >::pointerToType | ( | TypeWithDict const & | iToType | ) | const [private, virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 145 of file RefHolder_.h.
References edm::TypeWithDict::pointerToBaseType().
{ typedef typename REF::value_type contained_type; static TypeWithDict const s_type(typeid(contained_type)); return iToType.pointerToBaseType(ref_.get(), s_type); }
void const * edm::reftobase::RefHolder< REF >::product | ( | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 123 of file RefHolder_.h.
{ return ref_.product(); }
EDProductGetter const * edm::reftobase::RefHolder< REF >::productGetter | ( | ) | const [virtual] |
Implements edm::reftobase::RefHolderBase.
Definition at line 113 of file RefHolder_.h.
{ return ref_.productGetter(); }
void edm::reftobase::RefHolder< REF >::setRef | ( | REF const & | r | ) | [inline] |
Definition at line 138 of file RefHolder_.h.
References alignCSCRings::r.
Referenced by edm::reftobase::Holder< T, REF >::fillRefIfMyTypeMatches(), and edm::reftobase::RefHolder< REF >::fillRefIfMyTypeMatches().
void edm::reftobase::RefHolder< REF >::swap | ( | RefHolder< REF > & | other | ) | [inline] |
Definition at line 130 of file RefHolder_.h.
References edm::reftobase::RefHolder< REF >::ref_, and edm::reftobase::swap().
REF edm::reftobase::RefHolder< REF >::ref_ [private] |
Definition at line 47 of file RefHolder_.h.
Referenced by edm::reftobase::RefHolder< REF >::isAvailable(), and edm::reftobase::RefHolder< REF >::swap().