30 #ifndef G4UIcommandTree_h
31 #define G4UIcommandTree_h 1
69 G4String CreateFileName(
const char* pName);
72 std::vector<G4UIcommand*> command;
73 std::vector<G4UIcommandTree*> tree;
84 {
return tree.size(); };
86 {
return command.size(); };
88 {
return tree[i-1]; };
92 for(
size_t i=0; i < tree.size(); i++)
100 {
return command[i-1]; };
104 {
return G4String(
"...Title not available..."); }
G4UIcommandTree * FindCommandTree(const char *commandPath)
G4UIcommand * FindPath(const char *commandPath) const
G4int GetCommandEntry() const
G4int operator==(const G4UIcommandTree &right) const
G4UIcommand * GetCommand(G4int i)
G4int GetTreeEntry() const
const G4String GetTitle() const
G4int operator!=(const G4UIcommandTree &right) const
G4UIcommandTree * GetTree(G4int i)
void ListCurrentWithNum() const
void RemoveCommand(G4UIcommand *aCommand, G4bool workerThreadOnly=false)
G4String GetFirstMatchedString(const G4String &, const G4String &) const
const G4String GetPathName() const
G4UIcommandTree * GetTree(const char *comNameC)
const G4String GetTitle() const
void AddNewCommand(G4UIcommand *newCommand, G4bool workerThreadOnly=false)
const G4UIcommand * GetGuidance() const
G4String CompleteCommandPath(const G4String &commandPath)