1 #ifndef DataFormats_Common_BaseHolder_h
2 #define DataFormats_Common_BaseHolder_h
38 virtual T const*
getPtr()
const = 0;
43 virtual size_t key()
const = 0;
58 virtual std::auto_ptr<RefHolderBase>
holder()
const = 0;
65 virtual void const*
product()
const = 0;
102 template <
typename T>
107 template <
typename T>
114 template <
typename T>
virtual BaseHolder< T > * clone() const =0
virtual std::auto_ptr< RefVectorHolderBase > makeVectorBaseHolder() const =0
virtual bool isEqualTo(BaseHolder< T > const &rhs) const =0
virtual T const * getPtr() const =0
virtual bool isAvailable() const =0
#define CMS_CLASS_VERSION(_version_)
virtual void const * product() const =0
virtual std::auto_ptr< BaseVectorHolder< T > > makeVectorHolder() const =0
virtual size_t key() const =0
virtual ProductID id() const =0
virtual std::auto_ptr< RefHolderBase > holder() const =0
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const =0
virtual EDProductGetter const * productGetter() const =0
virtual bool hasProductCache() const =0
BaseHolder & operator=(BaseHolder const &rhs)