Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4UIcommand Namespace Reference

Functions

list f_GetStateList (G4UIcommand *acommand)
 

Function Documentation

list pyG4UIcommand::f_GetStateList ( G4UIcommand acommand)

Definition at line 44 of file pyG4UIcommand.cc.

45 {
46  list pyStateList;
47  std::vector<G4ApplicationState>* stateList= acommand->GetStateList();
48 
49  for( size_t i=0; i< stateList->size(); i++) {
50  pyStateList.append(&(*stateList)[i]);
51  }
52 
53  return pyStateList;
54 }
std::vector< G4ApplicationState > * GetStateList()
Definition: G4UIcommand.hh:147

Here is the call graph for this function:

Here is the caller graph for this function: