Geant4-11
Functions
pyG4UIcommand Namespace Reference

Functions

list f_GetStateList (G4UIcommand *acommand)
 

Function Documentation

◆ f_GetStateList()

list pyG4UIcommand::f_GetStateList ( G4UIcommand acommand)

Definition at line 43 of file pyG4UIcommand.cc.

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

References G4UIcommand::GetStateList().

Referenced by export_G4UIcommand().