Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyG4UIcommand.cc File Reference
#include <boost/python.hpp>
#include "G4UIcommand.hh"
#include "G4UImessenger.hh"
Include dependency graph for pyG4UIcommand.cc:

Go to the source code of this file.

Namespaces

 pyG4UIcommand
 

Functions

list pyG4UIcommand::f_GetStateList (G4UIcommand *acommand)
 
void export_G4UIcommand ()
 

Function Documentation

void export_G4UIcommand ( )

Definition at line 63 of file pyG4UIcommand.cc.

64 {
65  class_<G4UIcommand, G4UIcommand*>
66  ("G4UIcommand", "UI command")
67  .def(init<const char*, G4UImessenger*>())
68  // ---
69  .def("GetCurrentValue", &G4UIcommand::GetCurrentValue)
70  .def("IsAvailable", &G4UIcommand::IsAvailable)
71  .def("List", &G4UIcommand::List)
72  .def("GetRange", &G4UIcommand::GetRange,
73  return_value_policy<return_by_value>())
74  .def("GetGuidanceEntries", &G4UIcommand::GetGuidanceEntries)
75  .def("GetGuidanceLine", &G4UIcommand::GetGuidanceLine,
76  return_value_policy<return_by_value>())
77  .def("GetCommandPath", &G4UIcommand::GetCommandPath,
78  return_value_policy<return_by_value>())
79  .def("GetCommandName", &G4UIcommand::GetCommandName,
80  return_value_policy<return_by_value>())
81  .def("GetParameterEntries", &G4UIcommand::GetParameterEntries)
82  .def("GetParameter", &G4UIcommand::GetParameter,
83  return_value_policy<reference_existing_object>())
84  .def("GetStateList", f_GetStateList)
85  .def("GetTitle", &G4UIcommand::GetTitle)
86  ;
87 }
G4bool IsAvailable()
Definition: G4UIcommand.cc:290
const G4String & GetRange() const
Definition: G4UIcommand.hh:133
list f_GetStateList(G4UIcommand *acommand)
const G4String GetTitle() const
Definition: G4UIcommand.hh:170
const G4String & GetGuidanceLine(G4int i) const
Definition: G4UIcommand.hh:137
G4UIparameter * GetParameter(G4int i) const
Definition: G4UIcommand.hh:145
const G4String & GetCommandPath() const
Definition: G4UIcommand.hh:139
const G4String & GetCommandName() const
Definition: G4UIcommand.hh:141
virtual void List()
Definition: G4UIcommand.cc:349
G4int GetGuidanceEntries() const
Definition: G4UIcommand.hh:135
G4int GetParameterEntries() const
Definition: G4UIcommand.hh:143
G4String GetCurrentValue()
Definition: G4UIcommand.cc:235

Here is the call graph for this function:

Here is the caller graph for this function: