--------------------------------------------------------------------
| 321 | |
| 322 | // -------------------------------------------------------------------- |
| 323 | void G4UIcommand::List() |
| 324 | { |
| 325 | G4cout << G4endl; |
| 326 | G4cout << G4endl; |
| 327 | if (commandPath.back() != '/') { |
| 328 | G4cout << "Command " << commandPath << G4endl; |
| 329 | } |
| 330 | if (workerThreadOnly) { |
| 331 | G4cout << " ---- available only in worker thread" << G4endl; |
| 332 | } |
| 333 | |
| 334 | G4cout << "Guidance :" << G4endl; |
| 335 | for (const auto& i_thGuidance : commandGuidance) { |
| 336 | G4cout << i_thGuidance << G4endl; |
| 337 | } |
| 338 | |
| 339 | if (!rangeExpression.empty()) { |
| 340 | G4cout << " Range of parameters : " << rangeExpression << G4endl; |
| 341 | } |
| 342 | |
| 343 | for (const auto& i_thParameter : parameter) { |
| 344 | i_thParameter->List(); |
| 345 | } |
| 346 | G4cout << G4endl; |
| 347 | } |
| 348 | |
| 349 | // -------------------------------------------------------------------- |
| 350 | G4String G4UIcommand::ConvertToString(G4bool boolVal) |
no test coverage detected