33 #include <boost/python.hpp>
43 using namespace boost::python;
50 class_<G4Region, G4Region*, boost::noncopyable>
51 (
"G4Region",
"region class", no_init)
53 .def(init<const G4String&>())
59 return_value_policy<return_by_value>())
64 return_internal_reference<>())
72 return_internal_reference<>())
73 #if G4VERSION_NUMBER >= 710
76 return_internal_reference<>())
81 return_value_policy<reference_existing_object>())
82 #if G4VERSION_NUMBER >= 800
85 return_internal_reference<>())
88 return_internal_reference<>())
92 return_value_policy<reference_existing_object>())