| 304 | } |
| 305 | |
| 306 | void G4VBasicShell::ShowCurrent(const G4String& newCommand) const |
| 307 | { |
| 308 | G4UImanager* UI = G4UImanager::GetUIpointer(); |
| 309 | if (UI == nullptr) return; |
| 310 | G4String comString = newCommand.substr(1, newCommand.length() - 1); |
| 311 | G4String theCommand = ModifyToFullPathCommand(comString); |
| 312 | G4String curV = UI->GetCurrentValues(theCommand); |
| 313 | if (! curV.empty()) { |
| 314 | G4cout << "Current value(s) of the parameter(s) : " << curV << G4endl; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | void G4VBasicShell::ChangeDirectoryCommand(const G4String& newCommand) |
| 319 | { |
nothing calls this directly
no test coverage detected