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

Go to the source code of this file.

Functions

void export_G4ExceptionSeverity ()
 

Function Documentation

void export_G4ExceptionSeverity ( )

Definition at line 42 of file pyG4ExceptionSeverity.cc.

References EventMustBeAborted, FatalErrorInArgument, FatalException, JustWarning, and RunMustBeAborted.

Referenced by BOOST_PYTHON_MODULE().

43 {
44  enum_<G4ExceptionSeverity>("G4ExceptionSeverity")
45  .value("FatalException", FatalException)
46  .value("FatalErrorInArgument", FatalErrorInArgument)
47  .value("RunMustBeAborted", RunMustBeAborted)
48  .value("EventMustBeAborted", EventMustBeAborted)
49  .value("JustWarning", JustWarning)
50  ;
51 
52 }
const XML_Char int const XML_Char * value