CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
edm::helpers::PtrSetter< T > Struct Template Reference

#include <Wrapper.h>

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 458 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 
)
inlinestatic

Definition at line 470 of file Wrapper.h.

References edm::fillPtrVector().

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

473  {
474  // fillPtrVector is the name of an overload set; each concrete
475  // collection T should supply a fillPtrVector function, in the same
476  // namespace at that in which T is defined, or in the 'edm'
477  // namespace.
478  fillPtrVector(obj, iToType, iIndex, oPtr);
479  }
void fillPtrVector(std::vector< T, A > const &obj, std::type_info const &iToType, std::vector< unsigned long > const &iIndicies, std::vector< void const * > &oPtr)
Definition: fillPtrVector.h:87
template<typename T >
static void edm::helpers::PtrSetter< T >::set ( T const &  obj,
std::type_info const &  iToType,
unsigned long  iIndex,
void const *&  oPtr 
)
inlinestatic

Definition at line 459 of file Wrapper.h.

References edm::setPtr().

Referenced by betterConfigParser.BetterConfigParser::getGeneral(), and edm::DoSetPtr< T >::operator()().

462  {
463  // setPtr is the name of an overload set; each concrete
464  // collection T should supply a fillView function, in the same
465  // namespace at that in which T is defined, or in the 'edm'
466  // namespace.
467  setPtr(obj, iToType, iIndex, oPtr);
468  }
void setPtr(std::vector< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:74