33 #include <boost/python.hpp>
38 using namespace boost::python;
43 namespace pyG4Isotope {
55 using namespace pyG4Isotope;
62 class_<G4Isotope, G4Isotope*, boost::noncopyable>
63 (
"G4Isotope",
"isotope class", no_init)
65 .def(init<const G4String&, G4int, G4int>())
66 .def(init<const G4String&, G4int, G4int, G4double>())
70 return_value_policy<reference_existing_object>())
81 [return_value_policy<reference_existing_object>()])
82 .staticmethod(
"GetIsotope")
84 return_value_policy<reference_existing_object>())
85 .staticmethod(
"GetIsotopeTable")
87 .staticmethod(
"GetNumberOfIsotopes")
97 class_<G4IsotopeTable> (
"G4IsotopeTable",
"isotope table")
99 .def(self_ns::str(
self))