Geant4.10
|
#include <G4UIcommandTree.hh>
Public Member Functions | |
G4UIcommandTree () | |
G4UIcommandTree (const char *thePathName) | |
~G4UIcommandTree () | |
G4int | operator== (const G4UIcommandTree &right) const |
G4int | operator!= (const G4UIcommandTree &right) const |
void | AddNewCommand (G4UIcommand *newCommand, G4bool workerThreadOnly=false) |
void | RemoveCommand (G4UIcommand *aCommand, G4bool workerThreadOnly=false) |
G4UIcommand * | FindPath (const char *commandPath) const |
G4UIcommandTree * | FindCommandTree (const char *commandPath) |
G4String | CompleteCommandPath (const G4String &commandPath) |
void | List () const |
void | ListCurrent () const |
void | ListCurrentWithNum () const |
void | CreateHTML () |
const G4UIcommand * | GetGuidance () const |
const G4String | GetPathName () const |
G4int | GetTreeEntry () const |
G4int | GetCommandEntry () const |
G4UIcommandTree * | GetTree (G4int i) |
G4UIcommandTree * | GetTree (const char *comNameC) |
G4UIcommand * | GetCommand (G4int i) |
const G4String | GetTitle () const |
Definition at line 44 of file G4UIcommandTree.hh.
G4UIcommandTree::G4UIcommandTree | ( | ) |
Definition at line 35 of file G4UIcommandTree.cc.
Referenced by AddNewCommand().
G4UIcommandTree::G4UIcommandTree | ( | const char * | thePathName | ) |
Definition at line 39 of file G4UIcommandTree.cc.
G4UIcommandTree::~G4UIcommandTree | ( | ) |
Definition at line 45 of file G4UIcommandTree.cc.
void G4UIcommandTree::AddNewCommand | ( | G4UIcommand * | newCommand, |
G4bool | workerThreadOnly = false |
||
) |
Definition at line 63 of file G4UIcommandTree.cc.
References AddNewCommand(), G4String::append(), G4String::first(), G4UIcommandTree(), G4UIcommand::GetCommandPath(), GetPathName(), G4String::isNull(), G4String::remove(), G4UIcommand::SetToBeBroadcasted(), G4UIcommand::SetWorkerThreadOnly(), and G4UIcommand::ToBeBroadcasted().
Referenced by AddNewCommand(), and G4UImanager::AddNewCommand().
Definition at line 237 of file G4UIcommandTree.cc.
References FindCommandTree(), G4cout, G4endl, GetCommand(), GetCommandEntry(), GetPathName(), GetTree(), GetTreeEntry(), G4String::index(), G4String::last(), and G4String::remove().
void G4UIcommandTree::CreateHTML | ( | ) |
Definition at line 437 of file G4UIcommandTree.cc.
References cmd, G4endl, G4UIcommand::GetCommandName(), G4UIparameter::GetCurrentAsDefault(), G4UIparameter::GetDefaultValue(), G4UIcommand::GetGuidanceEntries(), G4UIcommand::GetGuidanceLine(), G4UIcommand::GetParameter(), G4UIparameter::GetParameterCandidates(), G4UIcommand::GetParameterEntries(), G4UIparameter::GetParameterName(), G4UIparameter::GetParameterRange(), G4UIparameter::GetParameterType(), GetPathName(), G4UIcommand::GetRange(), G4UIcommand::GetStateList(), G4StateManager::GetStateManager(), G4StateManager::GetStateString(), GetTitle(), and G4UIparameter::IsOmittable().
Referenced by G4UImanager::CreateHTML(), and export_G4UIcommandTree().
G4UIcommandTree * G4UIcommandTree::FindCommandTree | ( | const char * | commandPath | ) |
Try to match a command or a path with the one given. : command or path to match
Definition at line 209 of file G4UIcommandTree.cc.
References G4String::append(), G4String::first(), GetPathName(), G4String::index(), and G4String::remove().
Referenced by CompleteCommandPath().
G4UIcommand * G4UIcommandTree::FindPath | ( | const char * | commandPath | ) | const |
Definition at line 171 of file G4UIcommandTree.cc.
References G4String::append(), G4String::first(), GetPathName(), G4String::index(), and G4String::remove().
Referenced by G4UImanager::ApplyCommand(), G4CascadeParamMessenger::CreateDirectory(), export_G4UIcommandTree(), G4VBasicShell::FindCommand(), G4UImanager::GetCurrentValues(), and G4VBasicShell::TerminalHelp().
|
inline |
Definition at line 99 of file G4UIcommandTree.hh.
Referenced by CompleteCommandPath(), export_G4UIcommandTree(), and G4VBasicShell::TerminalHelp().
|
inline |
Definition at line 85 of file G4UIcommandTree.hh.
Referenced by CompleteCommandPath(), and export_G4UIcommandTree().
|
inline |
Definition at line 79 of file G4UIcommandTree.hh.
Referenced by export_G4UIcommandTree(), and ListCurrent().
|
inline |
Definition at line 81 of file G4UIcommandTree.hh.
Referenced by AddNewCommand(), CompleteCommandPath(), CreateHTML(), export_G4UIcommandTree(), FindCommandTree(), FindPath(), GetTree(), operator!=(), operator==(), and RemoveCommand().
|
inline |
Definition at line 101 of file G4UIcommandTree.hh.
References G4UIcommand::GetTitle().
Referenced by CreateHTML(), and export_G4UIcommandTree().
|
inline |
Definition at line 87 of file G4UIcommandTree.hh.
Referenced by CompleteCommandPath(), G4VBasicShell::FindDirectory(), and G4VBasicShell::TerminalHelp().
|
inline |
|
inline |
Definition at line 83 of file G4UIcommandTree.hh.
Referenced by CompleteCommandPath(), export_G4UIcommandTree(), RemoveCommand(), and G4VBasicShell::TerminalHelp().
void G4UIcommandTree::List | ( | ) | const |
Definition at line 390 of file G4UIcommandTree.cc.
References ListCurrent().
Referenced by export_G4UIcommandTree(), and G4UImanager::ListCommands().
void G4UIcommandTree::ListCurrent | ( | ) | const |
Definition at line 338 of file G4UIcommandTree.cc.
References G4cout, G4endl, GetGuidance(), and G4UIcommand::List().
Referenced by export_G4UIcommandTree(), List(), and G4VBasicShell::ListDirectory().
void G4UIcommandTree::ListCurrentWithNum | ( | ) | const |
Definition at line 367 of file G4UIcommandTree.cc.
References G4cout, G4endl, and G4UIcommand::List().
Referenced by export_G4UIcommandTree(), and G4VBasicShell::TerminalHelp().
G4int G4UIcommandTree::operator!= | ( | const G4UIcommandTree & | right | ) | const |
G4int G4UIcommandTree::operator== | ( | const G4UIcommandTree & | right | ) | const |
void G4UIcommandTree::RemoveCommand | ( | G4UIcommand * | aCommand, |
G4bool | workerThreadOnly = false |
||
) |
Definition at line 116 of file G4UIcommandTree.cc.
References G4String::append(), G4String::first(), G4UIcommand::GetCommandPath(), GetPathName(), GetTreeEntry(), G4String::isNull(), G4UIcommand::IsWorkerThreadOnly(), and G4String::remove().
Referenced by G4UImanager::RemoveCommand().