1 #ifndef DataFormats_Common_RefHolderBase_h
2 #define DataFormats_Common_RefHolderBase_h
15 class RefVectorHolderBase;
20 template <
class T>
T const*
getPtr()
const;
25 virtual size_t key()
const = 0;
54 virtual void const*
pointerToType(std::type_info
const& toType)
const = 0;
virtual void const * pointerToType(std::type_info const &toType) const =0
virtual bool isTransient() const =0
virtual std::auto_ptr< RefVectorHolderBase > makeVectorHolder() const =0
virtual size_t key() const =0
virtual bool isAvailable() const =0
virtual ProductID id() const =0
virtual EDProductGetter const * productGetter() const =0
virtual bool fillRefIfMyTypeMatches(RefHolderBase &ref, std::string &msg) const =0
virtual RefHolderBase * clone() const =0
virtual bool isEqualTo(RefHolderBase const &rhs) const =0