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 408 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 420 of file Wrapper.h.

References edm::fillPtrVector().

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

423  {
424  // fillPtrVector is the name of an overload set; each concrete
425  // collection T should supply a fillPtrVector function, in the same
426  // namespace at that in which T is defined, or in the 'edm'
427  // namespace.
428  fillPtrVector(obj, iToType, iIndex, oPtr);
429  }
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:88
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 409 of file Wrapper.h.

References edm::setPtr().

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

412  {
413  // setPtr is the name of an overload set; each concrete
414  // collection T should supply a fillView function, in the same
415  // namespace at that in which T is defined, or in the 'edm'
416  // namespace.
417  setPtr(obj, iToType, iIndex, oPtr);
418  }
void setPtr(std::vector< T, A > const &obj, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
Definition: setPtr.h:75