#include <RefHolderBase.h>
Public Member Functions | |
virtual RefHolderBase * | clone () const =0 |
virtual bool | fillRefIfMyTypeMatches (RefHolderBase &ref, std::string &msg) const =0 |
template<class T > | |
T const * | getPtr () const |
virtual bool | hasProductCache () const =0 |
virtual ProductID | id () const =0 |
virtual bool | isAvailable () const =0 |
virtual bool | isEqualTo (RefHolderBase const &rhs) const =0 |
virtual size_t | key () const =0 |
virtual std::auto_ptr < RefVectorHolderBase > | makeVectorHolder () const =0 |
virtual void const * | product () const =0 |
virtual EDProductGetter const * | productGetter () const =0 |
RefHolderBase () | |
virtual | ~RefHolderBase () |
Private Member Functions | |
virtual void const * | pointerToType (Reflex::Type const &toType) const =0 |
Definition at line 18 of file RefHolderBase.h.
edm::reftobase::RefHolderBase::RefHolderBase | ( | ) | [inline] |
Definition at line 20 of file RefHolderBase.h.
{ }
edm::reftobase::RefHolderBase::~RefHolderBase | ( | ) | [inline, virtual] |
Definition at line 63 of file RefHolderBase.h.
{ }
virtual RefHolderBase* edm::reftobase::RefHolderBase::clone | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual bool edm::reftobase::RefHolderBase::fillRefIfMyTypeMatches | ( | RefHolderBase & | ref, |
std::string & | msg | ||
) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
T const * edm::reftobase::RefHolderBase::getPtr | ( | ) | const |
Definition at line 68 of file RefHolderBase.h.
References compareJSON::const, and pointerToType().
{ static Reflex::Type s_type(Reflex::Type::ByTypeInfo(typeid(T))); return static_cast<T const*>(pointerToType(s_type)); }
virtual bool edm::reftobase::RefHolderBase::hasProductCache | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual ProductID edm::reftobase::RefHolderBase::id | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual bool edm::reftobase::RefHolderBase::isAvailable | ( | ) | const [pure virtual] |
Checks if product collection is in memory or available in the Event. No type checking is done.
Implemented in edm::reftobase::RefHolder< REF >.
Referenced by edm::reftobase::IndirectHolder< T >::isAvailable().
virtual bool edm::reftobase::RefHolderBase::isEqualTo | ( | RefHolderBase const & | rhs | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual size_t edm::reftobase::RefHolderBase::key | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual std::auto_ptr<RefVectorHolderBase> edm::reftobase::RefHolderBase::makeVectorHolder | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual void const* edm::reftobase::RefHolderBase::pointerToType | ( | Reflex::Type const & | toType | ) | const [private, pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
Referenced by getPtr().
virtual void const* edm::reftobase::RefHolderBase::product | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.
virtual EDProductGetter const* edm::reftobase::RefHolderBase::productGetter | ( | ) | const [pure virtual] |
Implemented in edm::reftobase::RefHolder< REF >.