Geant4-11
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

◆ export_G4UIparameter()

void export_G4UIparameter ( )

Definition at line 39 of file pyG4UIparameter.cc.

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

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().