Go to the source code of this file.
◆ G4_DECLARE_PHYSLIST_FACTORY
#define G4_DECLARE_PHYSLIST_FACTORY |
( |
| physics_list | ) |
|
Value:
Definition at line 59 of file G4PhysListStamper.hh.
59#define G4_DECLARE_PHYSLIST_FACTORY(physics_list) \
60 const G4PhysListStamper<physics_list>& physics_list##Factory = G4PhysListStamper<physics_list>(#physics_list)
◆ G4_DECLARE_PHYSLIST_FACTORY_NS
#define G4_DECLARE_PHYSLIST_FACTORY_NS |
( |
| physics_list, |
|
|
| nsname, |
|
|
| plbase ) |
Value: namespace nsname { \
} \
typedef int xyzzy__LINE__
Definition at line 65 of file G4PhysListStamper.hh.
65#define G4_DECLARE_PHYSLIST_FACTORY_NS( physics_list , nsname , plbase ) \
66 namespace nsname { \
67 const G4PhysListStamper<physics_list>& plbase##Factory = G4PhysListStamper<physics_list>(#physics_list); \
68 } \
69 typedef int xyzzy__LINE__
◆ G4_REFERENCE_PHYSLIST_FACTORY
#define G4_REFERENCE_PHYSLIST_FACTORY |
( |
| physics_list | ) |
|
Value:
template <class T> class T##physics_list; \
typedef T##physics_list<G4VModularPhysicsList> physics_list; \
Definition at line 80 of file G4PhysListStamper.hh.
80#define G4_REFERENCE_PHYSLIST_FACTORY(physics_list) \
81 class G4VModularPhysicsList; \
82 template <class T> class T##physics_list; \
83 typedef T##physics_list<G4VModularPhysicsList> physics_list; \
84 extern const G4PhysListStamper<physics_list>& physics_list##Factory; \
85 const G4PhysListStamper<physics_list>& physics_list##FactoryRef = physics_list##Factory
◆ G4_REFERENCE_PHYSLIST_FACTORY_NS
#define G4_REFERENCE_PHYSLIST_FACTORY_NS |
( |
| physics_list, |
|
|
| nsname, |
|
|
| plbase ) |
Value:
namespace nsname { \
template <class T> class T##plbase; \
typedef T##plbase<G4VModularPhysicsList> plbase; \
} \
typedef int xyzzy__LINE__
Definition at line 87 of file G4PhysListStamper.hh.
87#define G4_REFERENCE_PHYSLIST_FACTORY_NS(physics_list, nsname, plbase ) \
88 class G4VModularPhysicsList; \
89 namespace nsname { \
90 template <class T> class T##plbase; \
91 typedef T##plbase<G4VModularPhysicsList> plbase; \
92 extern const G4PhysListStamper<plbase>& plbase##Factory; \
93 const G4PhysListStamper<plbase>& plbase##FactoryRef = plbase##Factory; \
94 } \
95 typedef int xyzzy__LINE__