Public Member Functions | Private Attributes | List of all members
art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK > Class Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Core/PtrRemapper.h"

Public Member Functions

 ContReturner (CALLBACK callback)
 
CONT const & operator() (PROD const *prod) const
 

Private Attributes

CALLBACK callback_
 

Detailed Description

template<typename CONT, typename PROD, typename CALLBACK>
class art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >

Definition at line 196 of file PtrRemapper.h.

Constructor & Destructor Documentation

template<typename CONT, typename PROD, typename CALLBACK>
art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::ContReturner ( CALLBACK  callback)
inlineexplicit

Definition at line 198 of file PtrRemapper.h.

198 : callback_(callback) {}

Member Function Documentation

template<typename CONT, typename PROD, typename CALLBACK>
CONT const& art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::operator() ( PROD const *  prod) const
inline

Definition at line 200 of file PtrRemapper.h.

References art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::callback_.

Referenced by art::PtrRemapper::operator()().

201  {
202  return callback_(prod);
203  }
T prod(const std::vector< T > &v)
Definition: prod.hpp:17

Member Data Documentation

template<typename CONT, typename PROD, typename CALLBACK>
CALLBACK art::PtrRemapperDetail::ContReturner< CONT, PROD, CALLBACK >::callback_
private

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