Public Member Functions | List of all members
art::detail::ItemGetter< T, C > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_09_01/source/canvas/Persistency/Common/Ptr.h"

Public Member Functions

T const * operator() (C const *product, typename Ptr< T >::key_type iKey) const
 

Detailed Description

template<typename T, typename C>
class art::detail::ItemGetter< T, C >

Definition at line 66 of file Ptr.h.

Member Function Documentation

template<typename T , typename C >
T const* art::detail::ItemGetter< T, C >::operator() ( C const *  product,
typename Ptr< T >::key_type  iKey 
) const
inline

Definition at line 346 of file Ptr.h.

References art::detail::GetProduct< COLLECTION >::address(), datagram_server::address, ana::assert(), it, and T.

347  {
348  assert(product != nullptr);
349  auto it = product->begin();
350  advance(it, iKey);
352  return address;
353  }
set< int >::iterator it
static auto const * address(const_iterator const &i)
Definition: GetProduct.h:9
assert(nhit_max >=nhit_nbins)
double T
Definition: Xdiff_gwt.C:5

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