--------------------------------------------------------------------
| 417 | |
| 418 | // -------------------------------------------------------------------- |
| 419 | void G4UIcommandTree::ListCurrentWithNum() const |
| 420 | { |
| 421 | G4cout << "Command directory path : " << pathName << G4endl; |
| 422 | if (guidance != nullptr) { |
| 423 | guidance->List(); |
| 424 | } |
| 425 | G4int i = 0; |
| 426 | G4cout << " Sub-directories : " << G4endl; |
| 427 | std::size_t n_treeEntry = tree.size(); |
| 428 | for (std::size_t i_thTree = 0; i_thTree < n_treeEntry; ++i_thTree) { |
| 429 | ++i; |
| 430 | G4cout << " " << i << ") " << tree[i_thTree]->GetPathName() << " " |
| 431 | << tree[i_thTree]->GetTitle() << G4endl; |
| 432 | } |
| 433 | G4cout << " Commands : " << G4endl; |
| 434 | std::size_t n_commandEntry = command.size(); |
| 435 | for (std::size_t i_thCommand = 0; i_thCommand < n_commandEntry; ++i_thCommand) { |
| 436 | ++i; |
| 437 | G4cout << " " << i << ") " << command[i_thCommand]->GetCommandName() << " * " |
| 438 | << command[i_thCommand]->GetTitle() << G4endl; |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | // -------------------------------------------------------------------- |
| 443 | void G4UIcommandTree::List() const |
no test coverage detected