LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 230 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 232 of file PtrRemapper.h.

232 : 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 234 of file PtrRemapper.h.

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

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

235  {
236  return callback_(prod);
237  }

Member Data Documentation


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