GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Macros
GGSGeoPluginMacros.h File Reference

Go to the source code of this file.

Macros

#define GeometryPlugin(geometryClass)
 Macro for automatic definition of geometry builder function. More...
 

Detailed Description

Useful macros for geometry plugin creation.

Definition in file GGSGeoPluginMacros.h.

Macro Definition Documentation

#define GeometryPlugin (   geometryClass)
Value:
extern "C" geometryClass* GeometryBuilder() { \
return new geometryClass(); \
} \
extern "C" void GeometryDestroyer(geometryClass* p) { \
delete p; \
}

Macro for automatic definition of geometry builder function.

Definition at line 14 of file GGSGeoPluginMacros.h.