32 #include <boost/python.hpp> 33 #include "G4StateManager.hh" 42 class_<G4StateManager, boost::noncopyable>
43 (
"G4StateManager",
"state manager", no_init)
44 .def(
"GetStateManager", &G4StateManager::GetStateManager,
45 "Get an instance of G4StateManager",
46 return_value_policy<reference_existing_object>())
47 .staticmethod(
"GetStateManager")
49 .def(
"GetCurrentState", &G4StateManager::GetCurrentState)
50 .def(
"GetPreviousState", &G4StateManager::GetPreviousState)
51 .def(
"GetStateString", &G4StateManager::GetStateString)
void export_G4StateManager()