33 #include <boost/python.hpp>
37 using namespace boost::python;
42 namespace pyG4ProcessTable {
62 G4int nproc= procVec-> size();
63 for(
G4int i=0; i< nproc; i++) {
64 procList.append(&(*procVec)[i]);
74 G4int nproc= procVec-> size();
75 for(
G4int i=0; i< nproc; i++) {
76 procList.append(&(*procVec)[i]);
86 G4int nproc= procVec-> size();
87 for(
G4int i=0; i< nproc; i++) {
88 procList.append(&(*procVec)[i]);
98 G4int nproc= procVec-> size();
99 for(
G4int i=0; i< nproc; i++) {
100 procList.append(&(*procVec)[i]);
140 using namespace pyG4ProcessTable;
147 class_<G4ProcessTable, G4ProcessTable*, boost::noncopyable>
148 (
"G4ProcessTable",
"process table")
151 return_value_policy<reference_existing_object>())
152 .staticmethod(
"GetProcessTable")
158 return_value_policy<reference_existing_object>())
160 return_value_policy<reference_existing_object>())
162 return_value_policy<reference_existing_object>())
164 return_value_policy<reference_existing_object>())
181 return_internal_reference<>())