#include <boost/python.hpp>
Go to the source code of this file.
BOOST_PYTHON_MODULE |
( |
G4intercoms |
| ) |
|
Definition at line 45 of file pymodG4intercoms.cc.
void export_G4UIcommandTree()
void export_G4UIparameter()
void export_G4UImanager()
void export_G4UIcommand()
void export_G4UIcommand |
( |
| ) |
|
Definition at line 63 of file pyG4UIcommand.cc.
65 class_<G4UIcommand, G4UIcommand*>
66 (
"G4UIcommand",
"UI command")
67 .def(init<const char*, G4UImessenger*>())
73 return_value_policy<return_by_value>())
76 return_value_policy<return_by_value>())
78 return_value_policy<return_by_value>())
80 return_value_policy<return_by_value>())
83 return_value_policy<reference_existing_object>())
const G4String & GetRange() const
list f_GetStateList(G4UIcommand *acommand)
const G4String GetTitle() const
const G4String & GetGuidanceLine(G4int i) const
G4UIparameter * GetParameter(G4int i) const
const G4String & GetCommandPath() const
const G4String & GetCommandName() const
G4int GetGuidanceEntries() const
G4int GetParameterEntries() const
G4String GetCurrentValue()
void export_G4UIcommandTree |
( |
| ) |
|
Definition at line 55 of file pyG4UIcommandTree.cc.
57 class_<G4UIcommandTree, G4UIcommandTree*>
58 (
"G4UIcommandTree",
"UI command tree")
60 .def(init<const char*>())
63 return_value_policy<reference_existing_object>())
69 return_value_policy<reference_existing_object>())
75 return_value_policy<reference_existing_object>())
77 return_value_policy<reference_existing_object>())
79 return_value_policy<reference_existing_object>())
G4UIcommand * FindPath(const char *commandPath) const
G4int GetCommandEntry() const
G4UIcommand * GetCommand(G4int i)
G4int GetTreeEntry() const
G4UIcommandTree *(G4UIcommandTree::* f2_GetTree)(const char *)
void ListCurrentWithNum() const
const G4String GetPathName() const
const G4String GetTitle() const
const G4UIcommand * GetGuidance() const
G4UIcommandTree *(G4UIcommandTree::* f1_GetTree)(G4int)
void export_G4UImanager |
( |
| ) |
|
Definition at line 119 of file pyG4UImanager.cc.
121 class_<G4UImanager, boost::noncopyable>
122 (
"G4UImanager",
"UI manager class", no_init)
124 return_value_policy<reference_existing_object>())
125 .staticmethod(
"GetUIpointer")
134 return_value_policy<return_by_value>())
144 return_value_policy<reference_existing_object>())
void SetMacroSearchPath(const G4String &path)
void ExecuteMacroFile(const char *fileName)
G4int(G4UImanager::* f2_ApplyCommand)(const G4String &)
G4int GetVerboseLevel() const
void SetVerboseLevel(G4int val)
G4int ApplyUICommand_1(const G4String &cmdstr)
static G4UImanager * GetUIpointer()
G4bool GetPauseAtBeginOfEvent() const
G4bool GetPauseAtEndOfEvent() const
G4String GetCurrentValues(const char *aCommand)
G4int ApplyUICommand_2(const std::string &cmdstr)
G4UIcommandTree * GetTree() const
void SetPauseAtEndOfEvent(G4bool vl)
const G4String & GetMacroSearchPath() const
void SetPauseAtBeginOfEvent(G4bool vl)
void CreateHTML(const char *dir="/")
G4int(G4UImanager::* f1_ApplyCommand)(const char *)
void export_G4UIparameter |
( |
| ) |
|
Definition at line 40 of file pyG4UIparameter.cc.
42 class_<G4UIparameter, G4UIparameter*>
43 (
"G4UIparameter",
"UI parameter")
46 .def(init<const char*, char, G4bool>())
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