30 #ifndef G4UIcommandTree_h
31 #define G4UIcommandTree_h 1
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)
Try to match a command or a path with the one given.
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
std::vector< G4UIcommand * > command
std::vector< G4UIcommandTree * > tree
G4UIcommandTree * GetTree(G4int i)
void ListCurrentWithNum() const
void RemoveCommand(G4UIcommand *aCommand, G4bool workerThreadOnly=false)
G4String GetFirstMatchedString(const G4String &, const G4String &) const
G4String ModStr(const char *strS)
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 CreateFileName(const char *pName)
G4String CompleteCommandPath(const G4String &commandPath)