31 #include <boost/python.hpp>
41 using namespace boost::python;
48 class_<G4Region, G4Region*, boost::noncopyable>
49 (
"G4Region",
"region class", no_init)
51 .def(init<const G4String&>())
57 return_value_policy<return_by_value>())
62 return_internal_reference<>())
70 return_internal_reference<>())
71 #if G4VERSION_NUMBER >= 710
74 return_internal_reference<>())
79 return_value_policy<reference_existing_object>())
80 #if G4VERSION_NUMBER >= 800
83 return_internal_reference<>())
86 return_internal_reference<>())
90 return_value_policy<reference_existing_object>())