1 #ifndef DataFormats_Common_WrapperBase_h
2 #define DataFormats_Common_WrapperBase_h
27 std::vector<void const*>& view,
30 void setPtr(std::type_info
const& iToType,
32 void const*& oPtr)
const;
35 std::vector<unsigned long>
const& iIndicies,
36 std::vector<void const*>& oPtr)
const;
71 std::vector<void const*>& pointers,
73 virtual void do_setPtr(std::type_info
const& iToType,
75 void const*& oPtr)
const = 0;
78 std::vector<unsigned long>
const& iIndicies,
79 std::vector<void const*>& oPtr)
const = 0;
bool mergeProduct(WrapperBase const *newProduct)
std::type_info const & dynamicTypeInfo() const
void setPtr(std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) const
virtual void do_fillPtrVector(std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr) const =0
virtual bool mergeProduct_(WrapperBase const *newProduct)=0
virtual void do_setPtr(std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) const =0
virtual bool isPresent_() const
void fillView(ProductID const &id, std::vector< void const * > &view, FillViewHelperVector &helpers) const
virtual bool isMergeable_() const =0
bool sameType(WrapperBase const &other) const
virtual bool isProductEqual_(WrapperBase const *newProduct) const =0
virtual std::type_info const & wrappedTypeInfo_() const =0
virtual void do_fillView(ProductID const &id, std::vector< void const * > &pointers, FillViewHelperVector &helpers) const =0
void fillPtrVector(std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr) const
std::type_info const & wrappedTypeInfo() const
virtual std::type_info const & dynamicTypeInfo_() const =0
bool hasIsProductEqual() const
std::vector< std::pair< edm::ProductID, unsigned long > > FillViewHelperVector
bool isProductEqual(WrapperBase const *newProduct) const
virtual bool hasIsProductEqual_() const =0