Geant4-11
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

◆ export_G4ExceptionSeverity()

void export_G4ExceptionSeverity ( )

Definition at line 41 of file pyG4ExceptionSeverity.cc.

42{
43 enum_<G4ExceptionSeverity>("G4ExceptionSeverity")
44 .value("FatalException", FatalException)
45 .value("FatalErrorInArgument", FatalErrorInArgument)
46 .value("RunMustBeAborted", RunMustBeAborted)
47 .value("EventMustBeAborted", EventMustBeAborted)
48 .value("JustWarning", JustWarning)
49 ;
50
51}
@ JustWarning
@ FatalException
@ FatalErrorInArgument
@ RunMustBeAborted
@ EventMustBeAborted

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

Referenced by BOOST_PYTHON_MODULE().