Geant4-11
Static Public Member Functions | Static Private Member Functions
G4ForEach< group > Class Template Reference

#include <G4Pair.hh>

Static Public Member Functions

template<class functor >
static void Apply ()
 
template<class T1 , class functor >
static void Apply (functor *aFP, T1 *aT1=0)
 

Static Private Member Functions

template<class T1 >
static void ActOn (T1 *aT1, VCall< T1 > *aV)
 

Detailed Description

template<class group>
class G4ForEach< group >

Definition at line 163 of file G4Pair.hh.

Member Function Documentation

◆ ActOn()

template<class group >
template<class T1 >
static void G4ForEach< group >::ActOn ( T1 *  aT1,
VCall< T1 > *  aV 
)
inlinestaticprivate

Definition at line 166 of file G4Pair.hh.

167 {
168 aV->call(aT1);
169 }
virtual void call(A *aA)=0

References VCall< A >::call().

◆ Apply() [1/2]

template<class group >
template<class functor >
static void G4ForEach< group >::Apply ( )
inlinestatic

◆ Apply() [2/2]

template<class group >
template<class T1 , class functor >
static void G4ForEach< group >::Apply ( functor *  aFP,
T1 *  aT1 = 0 
)
inlinestatic

Definition at line 171 of file G4Pair.hh.

172 {
174 aCall.call(aT1);
175 typedef typename group::rest tail;
176 G4ForEach<tail>::Apply(aFP, aT1);
177 }

References G4ForEach< group >::Apply(), and Call< g, f, A >::call().


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