--------------------------------------------------------------------
| 382 | |
| 383 | // -------------------------------------------------------------------- |
| 384 | void G4UIcommandTree::ListCurrent() const |
| 385 | { |
| 386 | G4cout << "Command directory path : " << pathName << G4endl; |
| 387 | if (guidance != nullptr) { |
| 388 | guidance->List(); |
| 389 | } |
| 390 | G4cout << " Sub-directories : " << G4endl; |
| 391 | std::size_t n_treeEntry = tree.size(); |
| 392 | for (std::size_t i_thTree = 0; i_thTree < n_treeEntry; ++i_thTree) { |
| 393 | G4cout << " " << tree[i_thTree]->GetPathName(); |
| 394 | if ((tree[i_thTree]->GetGuidance() != nullptr) |
| 395 | && tree[i_thTree]->GetGuidance()->IsWorkerThreadOnly()) |
| 396 | { |
| 397 | G4cout << " @ "; |
| 398 | } |
| 399 | else { |
| 400 | G4cout << " "; |
| 401 | } |
| 402 | G4cout << tree[i_thTree]->GetTitle() << G4endl; |
| 403 | } |
| 404 | G4cout << " Commands : " << G4endl; |
| 405 | std::size_t n_commandEntry = command.size(); |
| 406 | for (std::size_t i_thCommand = 0; i_thCommand < n_commandEntry; ++i_thCommand) { |
| 407 | G4cout << " " << command[i_thCommand]->GetCommandName(); |
| 408 | if (command[i_thCommand]->IsWorkerThreadOnly()) { |
| 409 | G4cout << " @ "; |
| 410 | } |
| 411 | else { |
| 412 | G4cout << " * "; |
| 413 | } |
| 414 | G4cout << command[i_thCommand]->GetTitle() << G4endl; |
| 415 | } |
| 416 | } |
| 417 | |
| 418 | // -------------------------------------------------------------------- |
| 419 | void G4UIcommandTree::ListCurrentWithNum() const |
no test coverage detected