Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
pyG4UIparameter.cc File Reference
#include <boost/python.hpp>
#include "G4UIparameter.hh"

Go to the source code of this file.

Functions

void export_G4UIparameter ()
 

Function Documentation

void export_G4UIparameter ( )

Definition at line 40 of file pyG4UIparameter.cc.

References G4UIparameter::GetCurrentAsDefault(), G4UIparameter::GetDefaultValue(), G4UIparameter::GetParameterCandidates(), G4UIparameter::GetParameterGuidance(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), G4UIparameter::IsOmittable(), and G4UIparameter::List().

Referenced by BOOST_PYTHON_MODULE().

41 {
42  class_<G4UIparameter, G4UIparameter*>
43  ("G4UIparameter", "UI parameter")
44  // constructors
45  .def(init<char>())
46  .def(init<const char*, char, G4bool>())
47  // ---
48  .def("List", &G4UIparameter::List)
49  .def("GetDefaultValue", &G4UIparameter::GetDefaultValue)
50  .def("GetParameterType", &G4UIparameter::GetParameterType)
51  .def("GetParameterRange", &G4UIparameter::GetParameterRange)
52  .def("GetParameterName", &G4UIparameter::GetParameterName)
53  .def("GetParameterCandidates", &G4UIparameter::GetParameterCandidates)
54  .def("IsOmittable", &G4UIparameter::IsOmittable)
55  .def("GetCurrentAsDefault", &G4UIparameter::GetCurrentAsDefault)
56  .def("GetParameterGuidance", &G4UIparameter::GetParameterGuidance)
57  ;
58 }
G4String GetParameterCandidates() const
G4String GetParameterName() const
G4bool IsOmittable() const
G4String GetDefaultValue() const
char GetParameterType() const
const G4String GetParameterGuidance() const
G4String GetParameterRange() const
G4bool GetCurrentAsDefault() const