Public Types | Static Public Member Functions | List of all members
art::detail::GetProduct< COLLECTION > Struct Template Reference

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

Public Types

using const_iterator = typename COLLECTION::const_iterator
 

Static Public Member Functions

static auto const * address (const_iterator const &i)
 
static COLLECTION const * product (COLLECTION const &coll)
 

Detailed Description

template<typename COLLECTION>
struct art::detail::GetProduct< COLLECTION >

Definition at line 6 of file GetProduct.h.

Member Typedef Documentation

template<typename COLLECTION >
using art::detail::GetProduct< COLLECTION >::const_iterator = typename COLLECTION::const_iterator

Definition at line 7 of file GetProduct.h.

Member Function Documentation

template<typename COLLECTION >
static auto const* art::detail::GetProduct< COLLECTION >::address ( const_iterator const &  i)
inlinestatic

Definition at line 9 of file GetProduct.h.

References MECModelEnuComparisons::i.

Referenced by art::detail::ItemGetter< T, C >::operator()().

10  {
11  return &*i;
12  }
template<typename COLLECTION >
static COLLECTION const* art::detail::GetProduct< COLLECTION >::product ( COLLECTION const &  coll)
inlinestatic

Definition at line 14 of file GetProduct.h.

15  {
16  return &coll;
17  }

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