31#include <boost/python.hpp>
32#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
36using namespace boost::python;
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")
91 .def(vector_indexing_suite<G4IsotopeTable>())
92 .def(self_ns::str(self))
G4GLOB_DLL std::ostream G4cout
static const G4IsotopeTable * GetIsotopeTable()
void SetName(const G4String &name)
static size_t GetNumberOfIsotopes()
static G4Isotope * GetIsotope(const G4String &name, G4bool warning=false)
const G4String & GetName() const
void Print(G4Isotope &iso)
BOOST_PYTHON_FUNCTION_OVERLOADS(g_GetProcessVector, f_GetProcessVector, 2, 3) list f_GetAtRestProcessVector(const G4ProcessManager *procMgr