1 #ifndef DataFormats_Common_WrapperBase_h
2 #define DataFormats_Common_WrapperBase_h
25 std::vector<void const*>& view,
28 void setPtr(std::type_info
const& iToType,
30 void const*& oPtr)
const;
33 std::vector<unsigned long>
const& iIndicies,
34 std::vector<void const*>& oPtr)
const;
69 std::vector<void const*>& pointers,
71 virtual void do_setPtr(std::type_info
const& iToType,
73 void const*& oPtr)
const = 0;
76 std::vector<unsigned long>
const& iIndicies,
77 std::vector<void const*>& oPtr)
const = 0;
virtual bool isMergeable_() const
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 void do_setPtr(std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) const =0
virtual bool isPresent_() const
bool sameType(WrapperBase const &other) const
virtual std::type_info const & wrappedTypeInfo_() const =0
void fillPtrVector(std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr) const
std::shared_ptr< reftobase::RefVectorHolderBase > helper_vector_ptr
virtual bool isProductEqual_(WrapperBase const *newProduct) const
virtual void do_fillView(ProductID const &id, std::vector< void const * > &pointers, helper_vector_ptr &helpers) const =0
std::type_info const & wrappedTypeInfo() const
virtual bool mergeProduct_(WrapperBase const *newProduct)
void fillView(ProductID const &id, std::vector< void const * > &view, helper_vector_ptr &helpers) const
virtual bool hasIsProductEqual_() const
virtual std::type_info const & dynamicTypeInfo_() const =0
bool hasIsProductEqual() const
bool isProductEqual(WrapperBase const *newProduct) const