Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pygeomdefs.cc File Reference
#include <boost/python.hpp>
#include "geomdefs.hh"

Go to the source code of this file.

Functions

void export_geomdefs ()
 

Function Documentation

void export_geomdefs ( )

Definition at line 40 of file pygeomdefs.cc.

References kInside, kNormal, kOutside, kParameterised, kPhi, kRadial3D, kReplica, kRho, kSurface, kUndefined, kXAxis, kYAxis, and kZAxis.

Referenced by BOOST_PYTHON_MODULE().

41 {
42  enum_<EAxis>("EAxis")
43  .value("kXAxis", kXAxis)
44  .value("kYAxis", kYAxis)
45  .value("kZAxis", kZAxis)
46  .value("kRho", kRho)
47  .value("kRadial3D", kRadial3D)
48  .value("kPhi", kPhi)
49  .value("kUndefined", kUndefined)
50  ;
51 
52  enum_<EInside>("EInside")
53  .value("kOutside", kOutside)
54  .value("kSurface", kSurface)
55  .value("kInside", kInside)
56  ;
57 
58  enum_<EVolume>("EVolume")
59  .value("kNormal", kNormal)
60  .value("kReplica", kReplica)
61  .value("kParameterised", kParameterised)
62  ;
63 }
Definition: geomdefs.hh:54
const XML_Char int const XML_Char * value
Definition: geomdefs.hh:54