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

#include <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 363 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 367 of file Ptr.h.

369  {
370  assert(product != nullptr);
371  cet::map_vector_key k(iKey);
372  return product->getOrNull(k);
373  }
mapped_type * getOrNull(key_type key)
Definition: map_vector.h:417

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