Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CTCounter.hh File Reference

Go to the source code of this file.

Classes

struct  G4Number< N >
 
struct  G4Number< 0 >
 

Macros

#define G4CT_COUNT_INIT(init_value)
 
#define G4CT_COUNT(flagName)
 
#define G4CT_COUNT_INIT_DEF(init_value)
 
#define G4CT_COUNT_INIT_IMPL(enumName, init_value)
 
#define G4CT_COUNT_DEF(flagName)
 
#define G4CT_COUNT_IMPL(enumName, flagName)
 

Macro Definition Documentation

◆ G4CT_COUNT

#define G4CT_COUNT (   flagName)
Value:
static constexpr const int flagName = \
decltype(Counter(G4Number<255>{}) )::value; \
static constexpr G4Number<flagName + 1> \
}

Definition at line 96 of file G4CTCounter.hh.

◆ G4CT_COUNT_DEF

#define G4CT_COUNT_DEF (   flagName)
Value:
static constexpr const int flagName = \
decltype(Counter(G4Number<255>{}))::value; \
static constexpr G4Number<flagName + 1> \

Definition at line 119 of file G4CTCounter.hh.

◆ G4CT_COUNT_IMPL

#define G4CT_COUNT_IMPL (   enumName,
  flagName 
)

◆ G4CT_COUNT_INIT

#define G4CT_COUNT_INIT (   init_value)
Value:

Definition at line 90 of file G4CTCounter.hh.

◆ G4CT_COUNT_INIT_DEF

#define G4CT_COUNT_INIT_DEF (   init_value)
Value:

Definition at line 109 of file G4CTCounter.hh.

◆ G4CT_COUNT_INIT_IMPL

#define G4CT_COUNT_INIT_IMPL (   enumName,
  init_value 
)
Value:

Definition at line 113 of file G4CTCounter.hh.