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

#include "/cvmfs/"

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 184 of file Ptr.h.

Member Function Documentation

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

Definition at line 200 of file Ptr.h.

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

202 {
203  assert(product != nullptr);
204  auto it = product->begin();
205  advance(it, iKey);
207  return address;
208 }
set< int >::iterator it
static element_type const * address(iter const &i)
Definition: GetProduct.h:11
T product(std::vector< T > dims)
assert(nhit_max >=nhit_nbins)
double T
Definition: Xdiff_gwt.C:5

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