32 #include <boost/python.hpp>
61 class_<G4Isotope, G4Isotope*, boost::noncopyable>
62 (
"G4Isotope",
"isotope class", no_init)
64 .def(init<const G4String&, G4int, G4int>())
65 .def(init<const G4String&, G4int, G4int, G4double>())
68 return_value_policy<reference_existing_object>())
75 [return_value_policy<reference_existing_object>()])
76 .staticmethod(
"GetIsotope")
78 return_value_policy<reference_existing_object>())
79 .staticmethod(
"GetIsotopeTable")
81 .staticmethod(
"GetNumberOfIsotopes")
91 class_<G4IsotopeTable> (
"G4IsotopeTable",
"isotope table")
92 .def(vector_indexing_suite<G4IsotopeTable>())
93 .def(self_ns::str(
self))
const G4String & GetName() const
BOOST_PYTHON_FUNCTION_OVERLOADS(f_func2, func2, 1, 2)
void SetName(const G4String &name)
static const G4IsotopeTable * GetIsotopeTable()
static G4Isotope * GetIsotope(const G4String &name, G4bool warning=false)
G4GLOB_DLL std::ostream G4cout
void Print(const std::vector< T > &data)
static size_t GetNumberOfIsotopes()