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

Method GetTree

source/intercoms/src/G4UIcommandTree.cc:680–689  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

678
679// --------------------------------------------------------------------
680G4UIcommandTree* G4UIcommandTree::GetTree(const char* comNameC)
681{
682 G4String comName = comNameC;
683 for (auto& i : tree) {
684 if (comName == i->GetPathName()) {
685 return i;
686 }
687 }
688 return nullptr;
689}

Callers 15

G4VisCommandOpenMethod · 0.45
CompleteCommandMethod · 0.45
FindDirectoryMethod · 0.45
FindCommandMethod · 0.45
CompleteMethod · 0.45
TerminalHelpMethod · 0.45
GetCommandTreeMethod · 0.45
ListCommandMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected