32 #include <boost/python.hpp>
47 std::vector<G4ApplicationState>* stateList= acommand->
GetStateList();
49 for(
size_t i=0; i< stateList->size(); i++) {
50 pyStateList.append(&(*stateList)[i]);
65 class_<G4UIcommand, G4UIcommand*>
66 (
"G4UIcommand",
"UI command")
67 .def(init<const char*, G4UImessenger*>())
73 return_value_policy<return_by_value>())
76 return_value_policy<return_by_value>())
78 return_value_policy<return_by_value>())
80 return_value_policy<return_by_value>())
83 return_value_policy<reference_existing_object>())
const G4String & GetRange() const
list f_GetStateList(G4UIcommand *acommand)
const G4String GetTitle() const
const G4String & GetGuidanceLine(G4int i) const
G4UIparameter * GetParameter(G4int i) const
const G4String & GetCommandPath() const
const G4String & GetCommandName() const
std::vector< G4ApplicationState > * GetStateList()
G4int GetGuidanceEntries() const
G4int GetParameterEntries() const
void export_G4UIcommand()
G4String GetCurrentValue()