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::Apply1rst< M, FCN > Class Template Reference

Generic map Functor to act on first element (key) More...

#include <Primitives.h>

Public Member Functions

 Apply1rst (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::Apply1rst< M, FCN >

Generic map Functor to act on first element (key)

Definition at line 456 of file Primitives.h.

Constructor & Destructor Documentation

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

Definition at line 459 of file Primitives.h.

Member Function Documentation

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

Definition at line 460 of file Primitives.h.

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

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

Definition at line 462 of file Primitives.h.

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

Member Data Documentation

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

Definition at line 458 of file Primitives.h.

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


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