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

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

Public Types

typedef CONT PROD::*const CALLBACK
 

Public Member Functions

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

Private Attributes

CALLBACK callback_
 

Detailed Description

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

Definition at line 225 of file PtrRemapper.h.

Member Typedef Documentation

template<typename CONT , typename PROD >
typedef CONT PROD::* const art::PtrRemapperDetail::ContReturner< CONT, PROD, CONT PROD::*const >::CALLBACK

Definition at line 227 of file PtrRemapper.h.

Constructor & Destructor Documentation

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

Definition at line 228 of file PtrRemapper.h.

Member Function Documentation

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

Definition at line 230 of file PtrRemapper.h.

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

231  {
232  return prod->*callback_;
233  }
T prod(const std::vector< T > &v)
Definition: prod.hpp:17

Member Data Documentation

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

Definition at line 236 of file PtrRemapper.h.


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