39 : baseDir(NULL), baseDirName(
""), commandsShouldBeInMaster(false)
44 G4bool commandsToBeBroadcasted)
45 : baseDir(NULL), baseDirName(
""), commandsShouldBeInMaster(false)
65 return this == &messenger;
70 std::ostringstream os;
77 std::ostringstream os;
93 std::istringstream is(t);
102 std::istringstream is(t);
112 if( v==
"Y" || v==
"YES" || v==
"1" || v==
"T" || v==
"TRUE" )
120 G4cerr <<
"Warning : Old style definition of G4UIcommand <"
125 G4bool commandsToBeBroadcasted)
130 if(fullpath(fullpath.length()-1) !=
'/') fullpath.
append(
"/");
132 G4UIcommandTree* tree= ui-> GetTree()-> FindCommandTree(fullpath.c_str());
138 baseDir-> SetGuidance(dsc.c_str());
virtual G4String GetCurrentValue(G4UIcommand *command)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
static G4UImanager * GetUIpointer()
void CreateDirectory(const G4String &path, const G4String &dsc, G4bool commandsToBeBroadcasted=true)
G4bool operator==(const G4UImessenger &messenger) const
const G4String & GetCommandPath() const
G4String DtoS(G4double a)
void AddUIcommand(G4UIcommand *newCommand)
G4double StoD(G4String s)
G4String & append(const G4String &)
G4GLOB_DLL std::ostream G4cerr