Public Member Functions | List of all members
art::detail::ItemGetter< T, cet::map_vector< T > > 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() (cet::map_vector< T > const *product, typename Ptr< T >::key_type iKey) const
 

Detailed Description

template<typename T>
class art::detail::ItemGetter< T, cet::map_vector< T > >

Definition at line 357 of file Ptr.h.

Member Function Documentation

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

Definition at line 361 of file Ptr.h.

References ana::assert(), and cet::map_vector< Value >::getOrNull().

363  {
364  assert(product != nullptr);
365  cet::map_vector_key k(iKey);
366  return product->getOrNull(k);
367  }
assert(nhit_max >=nhit_nbins)
mapped_type * getOrNull(key_type key)
Definition: map_vector.h:405

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