DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
DD4hep::Apply2nd< M, FCN > Class Template Reference

Generic map Functor to act on second element (mapped type) More...

#include <Primitives.h>

Public Member Functions

 Apply2nd (const FCN &f)
 
void operator() (std::pair< typename M::key_type const, typename M::mapped_type > &p) const
 
void operator() (const std::pair< typename M::key_type const, typename M::mapped_type > &p) const
 

Public Attributes

const FCN & func
 

Detailed Description

template<typename M, typename FCN>
class DD4hep::Apply2nd< M, FCN >

Generic map Functor to act on second element (mapped type)

Definition at line 489 of file Primitives.h.

Constructor & Destructor Documentation

template<typename M , typename FCN >
DD4hep::Apply2nd< M, FCN >::Apply2nd ( const FCN &  f)
inline

Definition at line 492 of file Primitives.h.

Member Function Documentation

template<typename M , typename FCN >
void DD4hep::Apply2nd< M, FCN >::operator() ( std::pair< typename M::key_type const, typename M::mapped_type > &  p) const
inline

Definition at line 493 of file Primitives.h.

References DD4hep::Apply2nd< M, FCN >::func.

template<typename M , typename FCN >
void DD4hep::Apply2nd< M, FCN >::operator() ( const std::pair< typename M::key_type const, typename M::mapped_type > &  p) const
inline

Definition at line 495 of file Primitives.h.

References DD4hep::Apply2nd< M, FCN >::func.

Member Data Documentation

template<typename M , typename FCN >
const FCN& DD4hep::Apply2nd< M, FCN >::func

Definition at line 491 of file Primitives.h.

Referenced by DD4hep::Apply2nd< M, FCN >::operator()().


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