ATLAS Offline Software
Static Public Member Functions | List of all members
HLT::TypeInformation::for_each_type< list, functor, last_index > Struct Template Reference

#include <TypeInformation.h>

Collaboration diagram for HLT::TypeInformation::for_each_type< list, functor, last_index >:

Static Public Member Functions

static void do_it (functor *f=0)
 

Detailed Description

template<class list, class functor, int last_index = list::last_index>
struct HLT::TypeInformation::for_each_type< list, functor, last_index >

Definition at line 379 of file TypeInformation.h.

Member Function Documentation

◆ do_it()

template<class list , class functor , int last_index = list::last_index>
static void HLT::TypeInformation::for_each_type< list, functor, last_index >::do_it ( functor *  f = 0)
inlinestatic

Definition at line 380 of file TypeInformation.h.

380  {
381  //transient object to use in cas no object given, must have default ctor
382  functor transient = functor();
383  functor* ptr = (!f) ? &transient : f;
384 
386 
387  // apparently must use function pointer to get all the types resolved properly
389  (ptr->*funcptr)();
390  };

The documentation for this struct was generated from the following file:
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
taskman.template
dictionary template
Definition: taskman.py:317
HLT::TypeInformation::for_each_type::do_it
static void do_it(functor *f=0)
Definition: TypeInformation.h:380
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78