31 #include <boost/python.hpp>
36 using namespace boost::python;
41 namespace pyG4Isotope {
53 using namespace pyG4Isotope;
60 class_<G4Isotope, G4Isotope*, boost::noncopyable>
61 (
"G4Isotope",
"isotope class", no_init)
63 .def(init<const G4String&, G4int, G4int>())
64 .def(init<const G4String&, G4int, G4int, G4double>())
67 return_value_policy<reference_existing_object>())
74 [return_value_policy<reference_existing_object>()])
75 .staticmethod(
"GetIsotope")
77 return_value_policy<reference_existing_object>())
78 .staticmethod(
"GetIsotopeTable")
80 .staticmethod(
"GetNumberOfIsotopes")
90 class_<G4IsotopeTable> (
"G4IsotopeTable",
"isotope table")
92 .def(self_ns::str(
self))