Public Member Functions | List of all members
art::DoSetPtr< T > Struct Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Persistency/Common/Wrapper.h"

Public Member Functions

void operator() (T const &obj, std::type_info const &toType, unsigned long index, void const *&ptr) const
 
void operator() (T const &obj, std::type_info const &toType, std::vector< unsigned long > const &index, std::vector< void const * > &ptrs) const
 

Detailed Description

template<typename T>
struct art::DoSetPtr< T >

Definition at line 71 of file Wrapper.h.

Member Function Documentation

template<typename T >
void art::DoSetPtr< T >::operator() ( T const &  obj,
std::type_info const &  toType,
unsigned long  index,
void const *&  ptr 
) const

Definition at line 455 of file Wrapper.h.

References art::EDProduct::setPtr().

459  {
460  // setPtr is the name of an overload set; each concrete collection
461  // T should supply a setPtr function, in the same namespace at
462  // that in which T is defined, or in the 'art' namespace.
463  setPtr(obj, toType, index, ptr);
464  }
void setPtr(COLLECTION const &coll, std::type_info const &iToType, unsigned long iIndex, void const *&oPtr)
template<typename T >
void art::DoSetPtr< T >::operator() ( T const &  obj,
std::type_info const &  toType,
std::vector< unsigned long > const &  index,
std::vector< void const * > &  ptrs 
) const

Definition at line 468 of file Wrapper.h.

References art::EDProduct::getElementAddresses().

472  {
473  // getElementAddresses is the name of an overload set; each
474  // concrete collection T should supply a getElementAddresses
475  // function, in the same namespace at that in which T is
476  // defined, or in the 'art' namespace.
477  getElementAddresses(obj, toType, indices, ptr);
478  }
void getElementAddresses(COLLECTION const &coll, const std::type_info &iToType, const std::vector< unsigned long > &iIndices, std::vector< void const * > &oPtr)

The documentation for this struct was generated from the following file: