30#ifndef G4UImessenger_h
31#define G4UImessenger_h 1
96 if( cname(0) !=
'/' ) {
98 if (path(0) !=
'/') path =
"/" + path;
101 T* command =
new T(path.c_str(),
this);
102 command-> SetGuidance(dsc.c_str());
virtual G4String GetCurrentValue(G4UIcommand *command)
T * CreateCommand(const G4String &cname, const G4String &dsc)
G4bool operator==(const G4UImessenger &messenger) const
void AddUIcommand(G4UIcommand *newCommand)
G4String DtoS(G4double a)
virtual void SetNewValue(G4UIcommand *command, G4String newValue)
G4double StoD(G4String s)
void CreateDirectory(const G4String &path, const G4String &dsc)