CMS 3D CMS Logo

Static Public Member Functions

edm::helpers::PtrSetter< T > Struct Template Reference

#include <Wrapper.h>

List of all members.

Static Public Member Functions

static void fill (T const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndex, std::vector< void const * > &oPtr)
static void set (T const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)

Detailed Description

template<typename T>
struct edm::helpers::PtrSetter< T >

Definition at line 398 of file Wrapper.h.


Member Function Documentation

template<typename T >
static void edm::helpers::PtrSetter< T >::fill ( T const &  obj,
std::type_info const &  iToType,
std::vector< unsigned long > const &  iIndex,
std::vector< void const * > &  oPtr 
) [inline, static]

Definition at line 410 of file Wrapper.h.

References edm::fillPtrVector().

Referenced by edm::DoSetPtr< T >::operator()().

                                                       {
          // fillPtrVector is the name of an overload set; each concrete
          // collection T should supply a fillPtrVector function, in the same
          // namespace at that in which T is defined, or in the 'edm'
          // namespace.
          fillPtrVector(obj, iToType, iIndex, oPtr);
        }
template<typename T >
static void edm::helpers::PtrSetter< T >::set ( T const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
) [inline, static]

Definition at line 399 of file Wrapper.h.

References VarParsing::obj, and edm::setPtr().

Referenced by edm::DoSetPtr< T >::operator()().

                                            {
          // setPtr is the name of an overload set; each concrete
          // collection T should supply a fillView function, in the same
          // namespace at that in which T is defined, or in the 'edm'
          // namespace.
          setPtr(obj, iToType, iIndex, oPtr);
        }