34#include <boost/python.hpp>
38using namespace boost::python;
62 G4int paramIndex= returnVal % 100;
63 G4int commandStatus= returnVal - paramIndex;
65 switch(commandStatus) {
71 <<
"> not found" <<
G4endl;
75 G4cout <<
"illegal application state -- command refused"
83 G4cout <<
"Parameter is out of candidate list (index "
89 G4cout <<
"Parameter is wrong type and/or is not omittable (index "
90 << paramIndex <<
")" <<
G4endl;
97 G4cout <<
"command refused (" << commandStatus <<
")" <<
G4endl;
120 class_<G4UImanager, boost::noncopyable>
121 (
"G4UImanager",
"UI manager class", no_init)
123 return_value_policy<reference_existing_object>())
124 .staticmethod(
"GetUIpointer")
133 return_value_policy<return_by_value>())
143 return_value_policy<reference_existing_object>())
@ fParameterOutOfCandidates
@ fIllegalApplicationState
G4GLOB_DLL std::ostream G4cout
const G4String & GetMacroSearchPath() const
G4UIcommandTree * GetTree() const
G4int ApplyCommand(const char *aCommand)
void CreateHTML(const char *dir="/")
G4bool GetPauseAtBeginOfEvent() const
void ExecuteMacroFile(const char *fileName)
void SetMacroSearchPath(const G4String &path)
G4int GetVerboseLevel() const
G4bool GetPauseAtEndOfEvent() const
void SetPauseAtBeginOfEvent(G4bool vl)
G4String GetCurrentValues(const char *aCommand)
static G4UImanager * GetUIpointer()
void SetPauseAtEndOfEvent(G4bool vl)
void SetVerboseLevel(G4int val)
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_ClearWaitingStack, ClearWaitingStack, 0, 1) BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_GetNWaitingTrack
G4int(G4UImanager::* f2_ApplyCommand)(const G4String &)
G4int ApplyUICommand_1(const G4String &cmdstr)
G4int(G4UImanager::* f1_ApplyCommand)(const char *)
G4int ApplyUICommand_2(const std::string &cmdstr)
void export_G4UImanager()