#include <Holder.h>
Public Member Functions | |
virtual BaseHolder< T > * | clone () const |
virtual bool | fillRefIfMyTypeMatches (RefHolderBase &fillme, std::string &msg) const |
virtual T const * | getPtr () const |
REF const & | getRef () const |
virtual bool | hasProductCache () const |
Holder (Holder const &other) | |
Holder () | |
Holder (REF const &iRef) | |
virtual std::auto_ptr < RefHolderBase > | holder () const |
virtual ProductID | id () const |
virtual bool | isAvailable () const |
virtual bool | isEqualTo (BaseHolder< T > const &rhs) const |
virtual size_t | key () const |
virtual std::auto_ptr < RefVectorHolderBase > | makeVectorBaseHolder () const |
virtual std::auto_ptr < BaseVectorHolder< T > > | makeVectorHolder () const |
Holder & | operator= (Holder const &rhs) |
virtual void const * | product () const |
virtual EDProductGetter const * | productGetter () const |
void | swap (Holder &other) |
virtual | ~Holder () |
Private Attributes | |
REF | ref_ |
edm::reftobase::Holder< T, REF >::Holder | ( | ) | [inline] |
edm::reftobase::Holder< T, REF >::Holder | ( | Holder< T, REF > const & | other | ) | [inline] |
edm::reftobase::Holder< T, REF >::Holder | ( | REF const & | iRef | ) | [inline, explicit] |
edm::reftobase::Holder< T, REF >::~Holder | ( | ) | [inline, virtual] |
BaseHolder< T > * edm::reftobase::Holder< T, REF >::clone | ( | void | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 103 of file Holder.h.
{ return new Holder(*this); }
bool edm::reftobase::Holder< T, REF >::fillRefIfMyTypeMatches | ( | RefHolderBase & | fillme, |
std::string & | msg | ||
) | const [virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 163 of file Holder.h.
References h, mergeVDriftHistosByStation::name, and edm::reftobase::RefHolder< REF >::setRef().
T const * edm::reftobase::Holder< T, REF >::getPtr | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 111 of file Holder.h.
{ return ref_.operator->(); }
REF const & edm::reftobase::Holder< T, REF >::getRef | ( | ) | const [inline] |
Definition at line 138 of file Holder.h.
Referenced by edm::reftobase::Holder< T, REF >::isEqualTo().
{ return ref_; }
bool edm::reftobase::Holder< T, REF >::hasProductCache | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 151 of file Holder.h.
{ return ref_.hasProductCache(); }
virtual std::auto_ptr<RefHolderBase> edm::reftobase::Holder< T, REF >::holder | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 35 of file Holder.h.
References edm::reftobase::Holder< T, REF >::ref_.
{ return std::auto_ptr<RefHolderBase>( new RefHolder<REF>( ref_ ) ); }
ProductID edm::reftobase::Holder< T, REF >::id | ( | void | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 119 of file Holder.h.
References edm::ProductID::id().
{ return ref_.id(); }
virtual bool edm::reftobase::Holder< T, 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::BaseHolder< T >.
Definition at line 46 of file Holder.h.
References edm::reftobase::Holder< T, REF >::ref_.
{ return ref_.isAvailable(); }
bool edm::reftobase::Holder< T, REF >::isEqualTo | ( | BaseHolder< T > const & | rhs | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 127 of file Holder.h.
References compareJSON::const, edm::reftobase::Holder< T, REF >::getRef(), edm::getRef(), and h.
size_t edm::reftobase::Holder< T, REF >::key | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 209 of file Holder.h.
References combine::key.
{ typedef typename RefKeyTrait<REF>::type helper; return helper::key( ref_ ); }
std::auto_ptr< RefVectorHolderBase > edm::reftobase::Holder< T, REF >::makeVectorBaseHolder | ( | ) | const [virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 193 of file Holder.h.
{ typedef typename HolderToVectorTrait<T, REF>::type helper; return helper::makeVectorBaseHolder(); }
std::auto_ptr< BaseVectorHolder< T > > edm::reftobase::Holder< T, REF >::makeVectorHolder | ( | ) | const [virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 187 of file Holder.h.
{ typedef typename HolderToVectorTrait<T, REF>::type helper; return helper::makeVectorHolder(); }
Holder< T, REF > & edm::reftobase::Holder< T, REF >::operator= | ( | Holder< T, REF > const & | rhs | ) | [inline] |
Definition at line 80 of file Holder.h.
References edm::reftobase::swap(), and groupFilesInBlocks::temp.
void const * edm::reftobase::Holder< T, REF >::product | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 157 of file Holder.h.
{ return ref_.product(); }
EDProductGetter const * edm::reftobase::Holder< T, REF >::productGetter | ( | ) | const [inline, virtual] |
Implements edm::reftobase::BaseHolder< T >.
Definition at line 145 of file Holder.h.
{ return ref_.productGetter(); }
void edm::reftobase::Holder< T, REF >::swap | ( | Holder< T, REF > & | other | ) | [inline] |
Definition at line 90 of file Holder.h.
References edm::reftobase::Holder< T, REF >::ref_, and edm::reftobase::swap().
REF edm::reftobase::Holder< T, REF >::ref_ [private] |
Definition at line 52 of file Holder.h.
Referenced by edm::reftobase::Holder< T, REF >::holder(), edm::reftobase::Holder< T, REF >::isAvailable(), and edm::reftobase::Holder< T, REF >::swap().