#include <WrapperInterface.h>
Public Types | |
typedef T | value_type |
typedef T | wrapped_type |
Public Member Functions | |
WrapperInterface () | |
virtual | ~WrapperInterface () |
Static Public Member Functions | |
static std::type_info const & | productTypeInfo () |
static std::type_info const & | typeInfo () |
Private Member Functions | |
virtual void | deleteProduct_ (void const *me) const |
virtual void | do_fillPtrVector (void const *me, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr) const |
virtual void | do_fillView (void const *me, ProductID const &id, std::vector< void const * > &pointers, helper_vector_ptr &helpers) const |
virtual void | do_setPtr (void const *me, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr) const |
virtual std::type_info const & | dynamicTypeInfo_ () const |
virtual bool | hasIsProductEqual_ (void const *me) const |
virtual bool | isMergeable_ (void const *me) const |
virtual bool | isPresent_ (void const *me) const |
virtual bool | isProductEqual_ (void const *me, void const *newProduct) const |
virtual bool | mergeProduct_ (void *me, void const *newProduct) const |
virtual std::type_info const & | wrappedTypeInfo_ () const |
Static Private Member Functions | |
static Wrapper< T > const * | typeCast (void const *me) |
static Wrapper< T > * | typeCast (void *me) |
Definition at line 19 of file WrapperInterface.h.
typedef T edm::WrapperInterface< T >::value_type |
Definition at line 21 of file WrapperInterface.h.
typedef T edm::WrapperInterface< T >::wrapped_type |
Definition at line 22 of file WrapperInterface.h.
edm::WrapperInterface< T >::WrapperInterface | ( | ) | [inline] |
Definition at line 24 of file WrapperInterface.h.
: WrapperInterfaceBase() {}
virtual edm::WrapperInterface< T >::~WrapperInterface | ( | ) | [inline, virtual] |
Definition at line 25 of file WrapperInterface.h.
{}
virtual void edm::WrapperInterface< T >::deleteProduct_ | ( | void const * | me | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 40 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ delete typeCast(me); }
virtual void edm::WrapperInterface< T >::do_fillPtrVector | ( | void const * | me, |
std::type_info const & | iToType, | ||
std::vector< unsigned long > const & | iIndicies, | ||
std::vector< void const * > & | oPtr | ||
) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 58 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ typeCast(me)->fillPtrVector(iToType, iIndicies, oPtr); }
virtual void edm::WrapperInterface< T >::do_fillView | ( | void const * | me, |
ProductID const & | id, | ||
std::vector< void const * > & | pointers, | ||
helper_vector_ptr & | helpers | ||
) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 44 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ typeCast(me)->fillView(id, pointers, helpers); }
virtual void edm::WrapperInterface< T >::do_setPtr | ( | void const * | me, |
std::type_info const & | iToType, | ||
unsigned long | iIndex, | ||
void const *& | oPtr | ||
) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 51 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ typeCast(me)->setPtr(iToType, iIndex, oPtr); }
virtual std::type_info const& edm::WrapperInterface< T >::dynamicTypeInfo_ | ( | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 81 of file WrapperInterface.h.
{ return typeid(T); }
virtual bool edm::WrapperInterface< T >::hasIsProductEqual_ | ( | void const * | me | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 69 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ return typeCast(me)->hasIsProductEqual(); }
virtual bool edm::WrapperInterface< T >::isMergeable_ | ( | void const * | me | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 65 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ return typeCast(me)->isMergeable(); }
virtual bool edm::WrapperInterface< T >::isPresent_ | ( | void const * | me | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 89 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
{ return typeCast(me)->isPresent(); }
virtual bool edm::WrapperInterface< T >::isProductEqual_ | ( | void const * | me, |
void const * | newProduct | ||
) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 77 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
virtual bool edm::WrapperInterface< T >::mergeProduct_ | ( | void * | me, |
void const * | newProduct | ||
) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 73 of file WrapperInterface.h.
References edm::WrapperInterface< T >::typeCast().
static std::type_info const& edm::WrapperInterface< T >::productTypeInfo | ( | ) | [inline, static] |
Definition at line 28 of file WrapperInterface.h.
{return typeid(T);}
static Wrapper<T>* edm::WrapperInterface< T >::typeCast | ( | void * | me | ) | [inline, static, private] |
Definition at line 36 of file WrapperInterface.h.
{ return static_cast<Wrapper<T>*>(me); }
static Wrapper<T> const* edm::WrapperInterface< T >::typeCast | ( | void const * | me | ) | [inline, static, private] |
Definition at line 32 of file WrapperInterface.h.
References compareJSON::const.
Referenced by edm::WrapperInterface< T >::deleteProduct_(), edm::WrapperInterface< T >::do_fillPtrVector(), edm::WrapperInterface< T >::do_fillView(), edm::WrapperInterface< T >::do_setPtr(), edm::WrapperInterface< T >::hasIsProductEqual_(), edm::WrapperInterface< T >::isMergeable_(), edm::WrapperInterface< T >::isPresent_(), edm::WrapperInterface< T >::isProductEqual_(), and edm::WrapperInterface< T >::mergeProduct_().
{ return static_cast<Wrapper<T> const*>(me); }
static std::type_info const& edm::WrapperInterface< T >::typeInfo | ( | ) | [inline, static] |
Definition at line 29 of file WrapperInterface.h.
{return typeid(Wrapper<T>);}
virtual std::type_info const& edm::WrapperInterface< T >::wrappedTypeInfo_ | ( | ) | const [inline, private, virtual] |
Implements edm::WrapperInterfaceBase.
Definition at line 85 of file WrapperInterface.h.
{ return typeid(Wrapper<T>); }