MCPcopy Create free account
hub / github.com/Geant4/geant4 / ListCommands

Method ListCommands

source/intercoms/src/G4UImanager.cc:663–672  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

661
662// --------------------------------------------------------------------
663void 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// --------------------------------------------------------------------
675G4UIcommandTree* G4UImanager::FindDirectory(const char* dirName)

Callers 1

SetNewValueMethod · 0.80

Calls 1

ListMethod · 0.45

Tested by

no test coverage detected