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

#include <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.

201  {
202  return callback_(prod);
203  }

Member Data Documentation

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

Definition at line 206 of file PtrRemapper.h.


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