#include <boost/python.hpp>
#include "G4StateManager.hh"
Go to the source code of this file.
void export_G4StateManager |
( |
| ) |
|
Definition at line 39 of file pyG4StateManager.cc.
Referenced by BOOST_PYTHON_MODULE().
41 class_<G4StateManager, boost::noncopyable>
42 (
"G4StateManager",
"state manager", no_init)
43 .def(
"GetStateManager", &G4StateManager::GetStateManager,
44 "Get an instance of G4StateManager",
45 return_value_policy<reference_existing_object>())
46 .staticmethod(
"GetStateManager")
48 .def(
"GetCurrentState", &G4StateManager::GetCurrentState,
49 return_value_policy<copy_const_reference>())
50 .def(
"GetPreviousState", &G4StateManager::GetPreviousState,
51 return_value_policy<copy_const_reference>())
52 .def(
"GetStateString", &G4StateManager::GetStateString)