30#ifndef G4UIcommandTree_h
31#define G4UIcommandTree_h 1
68 G4String CreateFileName(
const char* pName);
72 std::vector<G4UIcommand*> command;
73 std::vector<G4UIcommandTree*> tree;
83 {
return tree.size(); };
85 {
return command.size(); };
87 {
return tree[i-1]; };
91 for(
size_t i=0; i < tree.size(); i++)
99 {
return command[i-1]; };
103 {
return G4String(
"...Title not available..."); }
G4int GetCommandEntry() const
G4int operator!=(const G4UIcommandTree &right) const
const G4UIcommand * GetGuidance() const
G4UIcommand * GetCommand(G4int i)
G4int GetTreeEntry() const
const G4String GetPathName() const
G4UIcommandTree * GetTree(G4int i)
void RemoveCommand(G4UIcommand *aCommand)
G4int operator==(const G4UIcommandTree &right) const
G4UIcommandTree * FindCommandTree(const char *commandPath)
void ListCurrentWithNum() const
const G4String GetTitle() const
G4String CompleteCommandPath(const G4String &commandPath)
G4UIcommandTree * GetTree(const char *comNameC)
G4UIcommand * FindPath(const char *commandPath) const
void AddNewCommand(G4UIcommand *newCommand)
const G4String GetTitle() const