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

Go to the source code of this file.

Classes

class  G4VBasePhysConstrFactory
 
class  G4PhysicsConstructorFactory< T >
 

Macros

#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor)
 
#define G4_DECLARE_PHYSCONSTR_FACTORY_NS(physics_constructor, nsname, pcbase)
 
#define REGREF   0
 
#define G4_REFERENCE_PHYSCONSTR_FACTORY(physics_constructor)
 
#define G4_REFERENCE_PHYSCONSTR_FACTORY_NS(physics_constructor, nsname, pcbase)
 

Macro Definition Documentation

◆ G4_DECLARE_PHYSCONSTR_FACTORY

#define G4_DECLARE_PHYSCONSTR_FACTORY ( physics_constructor)
Value:

Definition at line 59 of file G4PhysicsConstructorFactory.hh.

59#define G4_DECLARE_PHYSCONSTR_FACTORY(physics_constructor) \
60 const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory = G4PhysicsConstructorFactory<physics_constructor>(#physics_constructor)

◆ G4_DECLARE_PHYSCONSTR_FACTORY_NS

#define G4_DECLARE_PHYSCONSTR_FACTORY_NS ( physics_constructor,
nsname,
pcbase )
Value:
namespace nsname { \
} \
typedef int xyzzy__LINE__

Definition at line 65 of file G4PhysicsConstructorFactory.hh.

65#define G4_DECLARE_PHYSCONSTR_FACTORY_NS( physics_constructor, nsname, pcbase ) \
66 namespace nsname { \
67 const G4PhysicsConstructorFactory<physics_constructor>& pcbase##Factory = G4PhysicsConstructorFactory<physics_constructor>(#physics_constructor); \
68 } \
69 typedef int xyzzy__LINE__

◆ G4_REFERENCE_PHYSCONSTR_FACTORY

#define G4_REFERENCE_PHYSCONSTR_FACTORY ( physics_constructor)
Value:
class physics_constructor; \
extern const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory; \
const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##FactoryRef##REGREF = physics_constructor##Factory

Definition at line 83 of file G4PhysicsConstructorFactory.hh.

83#define G4_REFERENCE_PHYSCONSTR_FACTORY(physics_constructor) \
84 class physics_constructor; \
85 extern const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##Factory; \
86 const G4PhysicsConstructorFactory<physics_constructor>& physics_constructor##FactoryRef##REGREF = physics_constructor##Factory

◆ G4_REFERENCE_PHYSCONSTR_FACTORY_NS

#define G4_REFERENCE_PHYSCONSTR_FACTORY_NS ( physics_constructor,
nsname,
pcbase )
Value:
namespace nsname { \
class pcbase; \
extern const G4PhysicsConstructorFactory<physics_constructor>& pcbase##Factory; \
const G4PhysicsConstructorFactory<physics_constructor>& pcbase##FactoryRef##REGREF = pcbase##Factory; \
} \
typedef int xyzzy__LINE__

Definition at line 88 of file G4PhysicsConstructorFactory.hh.

88#define G4_REFERENCE_PHYSCONSTR_FACTORY_NS( physics_constructor, nsname, pcbase ) \
89 namespace nsname { \
90 class pcbase; \
91 extern const G4PhysicsConstructorFactory<physics_constructor>& pcbase##Factory; \
92 const G4PhysicsConstructorFactory<physics_constructor>& pcbase##FactoryRef##REGREF = pcbase##Factory; \
93 } \
94 typedef int xyzzy__LINE__

◆ REGREF

#define REGREF   0

Definition at line 80 of file G4PhysicsConstructorFactory.hh.