--------------------------------------------------------------------
| 661 | |
| 662 | // -------------------------------------------------------------------- |
| 663 | void G4UImanager::ListCommands(const char* direct) |
| 664 | { |
| 665 | G4UIcommandTree* comTree = FindDirectory(direct); |
| 666 | if (comTree != nullptr) { |
| 667 | comTree->List(); |
| 668 | } |
| 669 | else { |
| 670 | G4cout << direct << " is not found." << G4endl; |
| 671 | } |
| 672 | } |
| 673 | |
| 674 | // -------------------------------------------------------------------- |
| 675 | G4UIcommandTree* G4UImanager::FindDirectory(const char* dirName) |