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::unique_ptr<RefHolderBase>
holder()
const = 0;
101 template <
typename T>
106 template <
typename T>
113 template <
typename T>
virtual BaseHolder< T > * clone() const =0
virtual bool isTransient() 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 size_t key() const =0
virtual ProductID id() const =0
virtual std::unique_ptr< BaseVectorHolder< T > > makeVectorHolder() const =0
virtual bool fillRefIfMyTypeMatches(RefHolderBase &fillme, std::string &msg) const =0
virtual EDProductGetter const * productGetter() const =0
BaseHolder & operator=(BaseHolder const &rhs)
virtual std::unique_ptr< RefHolderBase > holder() const =0