LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
art::detail::ItemGetter< T, C > Class Template Reference

#include "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 65 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 359 of file Ptr.h.

References art::detail::GetProduct< COLLECTION >::address().

360  {
361  assert(product != nullptr);
362  auto it = product->begin();
363  advance(it, iKey);
365  }
static auto const * address(const_iterator const &i)
Definition: GetProduct.h:9

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