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 409 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 421 of file Wrapper.h.

References edm::fillPtrVector().

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

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

References edm::setPtr().

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

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