31 #include <boost/python.hpp>
35 using namespace boost::python;
41 namespace pyG4ProcessTable {
61 G4int nproc= procVec-> size();
62 for(
G4int i=0; i< nproc; i++) {
63 procList.append(&(*procVec)[i]);
73 G4int nproc= procVec-> size();
74 for(
G4int i=0; i< nproc; i++) {
75 procList.append(&(*procVec)[i]);
85 G4int nproc= procVec-> size();
86 for(
G4int i=0; i< nproc; i++) {
87 procList.append(&(*procVec)[i]);
97 G4int nproc= procVec-> size();
98 for(
G4int i=0; i< nproc; i++) {
99 procList.append(&(*procVec)[i]);
139 using namespace pyG4ProcessTable;
146 class_<G4ProcessTable, boost::noncopyable>
147 (
"G4ProcessTable",
"process table", no_init)
150 return_value_policy<reference_existing_object>())
151 .staticmethod(
"GetProcessTable")
157 return_value_policy<reference_existing_object>())
159 return_value_policy<reference_existing_object>())
161 return_value_policy<reference_existing_object>())
163 return_value_policy<reference_existing_object>())
180 return_internal_reference<>())