LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
art::detail::GetProduct< COLLECTION > Struct Template Reference

#include "GetProduct.h"

Public Types

typedef COLLECTION::value_type element_type
 
typedef COLLECTION::const_iterator iter
 

Static Public Member Functions

static element_type const * address (iter const &i)
 
static COLLECTION const * product (COLLECTION const &coll)
 

Detailed Description

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

Definition at line 7 of file GetProduct.h.

Member Typedef Documentation

template<typename COLLECTION >
typedef COLLECTION::value_type art::detail::GetProduct< COLLECTION >::element_type

Definition at line 8 of file GetProduct.h.

template<typename COLLECTION >
typedef COLLECTION::const_iterator art::detail::GetProduct< COLLECTION >::iter

Definition at line 9 of file GetProduct.h.

Member Function Documentation

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

Definition at line 11 of file GetProduct.h.

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

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

Definition at line 16 of file GetProduct.h.

17  {
18  return &coll;
19  }

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