Geant4-11
|
#include <G4UIcommandTree.hh>
Private Member Functions | |
G4String | CreateFileName (const char *pName) |
G4String | ModStr (const char *strS) |
Private Attributes | |
G4bool | broadcastCommands = true |
std::vector< G4UIcommand * > | command |
G4int | createHTMLTreeLevel = 0 |
G4UIcommand * | guidance = nullptr |
G4bool | ifSort = false |
G4String | pathName |
std::vector< G4UIcommandTree * > | tree |
Definition at line 44 of file G4UIcommandTree.hh.
G4UIcommandTree::G4UIcommandTree | ( | ) |
G4UIcommandTree::G4UIcommandTree | ( | const char * | thePathName | ) |
Definition at line 46 of file G4UIcommandTree.cc.
References pathName.
G4UIcommandTree::~G4UIcommandTree | ( | ) |
Definition at line 52 of file G4UIcommandTree.cc.
References tree.
void G4UIcommandTree::AddNewCommand | ( | G4UIcommand * | newCommand, |
G4bool | workerThreadOnly = false |
||
) |
Definition at line 75 of file G4UIcommandTree.cc.
References AddNewCommand(), broadcastCommands, command, G4Exception(), G4UIcommandTree(), G4UIcommand::GetCommandPath(), GetPathName(), G4UImanager::GetUIpointer(), G4UImanager::GetVerboseLevel(), guidance, ifSort, G4UIdirectory::IfSort(), JustWarning, pathName, G4UIcommand::SetDefaultSortFlag(), G4UIcommand::SetToBeBroadcasted(), G4UIcommand::SetWorkerThreadOnly(), G4UIcommand::ToBeBroadcasted(), and tree.
Referenced by G4UImanager::AddNewCommand(), AddNewCommand(), and G4UImanager::AddWorkerCommand().
Definition at line 311 of file G4UIcommandTree.cc.
References anonymous_namespace{G4MTcoutDestination.cc}::empty, FindCommandTree(), G4cout, G4endl, GetCommand(), GetCommandEntry(), G4UIcommand::GetCommandName(), GetFirstMatchedString(), GetPathName(), GetTree(), and GetTreeEntry().
|
private |
Definition at line 513 of file G4UIcommandTree.cc.
Referenced by CreateHTML().
void G4UIcommandTree::CreateHTML | ( | G4String | sideBar = "" | ) |
Definition at line 552 of file G4UIcommandTree.cc.
References command, CreateFileName(), createHTMLTreeLevel, 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(), guidance, G4UIparameter::IsOmittable(), ModStr(), pathName, and tree.
Referenced by G4UImanager::CreateHTML(), and export_G4UIcommandTree().
G4UIcommandTree * G4UIcommandTree::FindCommandTree | ( | const char * | commandPath | ) |
Definition at line 272 of file G4UIcommandTree.cc.
References GetPathName(), pathName, and tree.
Referenced by CompleteCommandPath(), G4UIQt::CreateCompleterModel(), G4UImessenger::CreateDirectory(), G4UIWin32::GetHelpTreeToolTips(), G4UIQt::HelpTreeClicCallback(), G4UIQt::UpdateCommandCompleter(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
G4UIcommand * G4UIcommandTree::FindPath | ( | const char * | commandPath | ) | const |
Definition at line 231 of file G4UIcommandTree.cc.
References command, GetPathName(), pathName, and tree.
Referenced by G4UIQt::AddButton(), G4UIQt::AddIcon(), G4UImanager::ApplyCommand(), G4UIQt::ButtonCallback(), G4CascadeParamMessenger::CreateDirectory(), export_G4UIcommandTree(), G4UImanager::FindCommand(), G4VBasicShell::FindCommand(), G4VisCommandDrawLogicalVolume::G4VisCommandDrawLogicalVolume(), G4VisCommandDrawVolume::G4VisCommandDrawVolume(), G4VisCommandSceneAddMagneticField::G4VisCommandSceneAddMagneticField(), G4UImanager::GetCurrentValues(), G4UIWin32::GetHelpTreeToolTips(), G4UIQt::HelpTreeClicCallback(), G4UIQt::OpenHelpTreeOnCommand(), and G4VBasicShell::TerminalHelp().
|
inline |
Definition at line 77 of file G4UIcommandTree.hh.
References command.
Referenced by CompleteCommandPath(), G4UIWin32::CreateHelpTree(), G4UIQt::CreateHelpTree(), export_G4UIcommandTree(), G4UIQt::LookForHelpStringInChildTree(), G4VBasicShell::TerminalHelp(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
|
inline |
Definition at line 74 of file G4UIcommandTree.hh.
References command.
Referenced by CompleteCommandPath(), G4UIWin32::CreateHelpTree(), G4UIQt::CreateHelpTree(), export_G4UIcommandTree(), G4UIQt::LookForHelpStringInChildTree(), and G4OpenGLQtViewer::updateViewerPropertiesTableWidget().
G4String G4UIcommandTree::GetFirstMatchedString | ( | const G4String & | str1, |
const G4String & | str2 | ||
) | const |
Definition at line 408 of file G4UIcommandTree.cc.
Referenced by CompleteCommandPath(), and G4UIQt::CreateCompleterModel().
|
inline |
Definition at line 71 of file G4UIcommandTree.hh.
References guidance.
Referenced by export_G4UIcommandTree(), ListCurrent(), and G4UIQt::LookForHelpStringInChildTree().
|
inline |
Definition at line 72 of file G4UIcommandTree.hh.
References pathName.
Referenced by AddNewCommand(), CompleteCommandPath(), G4UImessenger::CreateDirectory(), G4UIWin32::CreateHelpTree(), G4UIQt::CreateHelpTree(), CreateHTML(), export_G4UIcommandTree(), G4UIQt::FillHelpTree(), FindCommandTree(), FindPath(), GetTree(), G4UIWin32::InitHelpTreeItems(), G4UIQt::LookForHelpStringInChildTree(), G4UIQt::OpenHelpTreeOnCommand(), operator!=(), operator==(), and RemoveCommand().
|
inline |
Definition at line 78 of file G4UIcommandTree.hh.
References G4UIcommand::GetTitle(), and guidance.
Referenced by CreateHTML(), export_G4UIcommandTree(), G4UIWin32::GetHelpTreeToolTips(), and G4UIQt::HelpTreeClicCallback().
G4UIcommandTree * G4UIcommandTree::GetTree | ( | const char * | comNameC | ) |
Definition at line 770 of file G4UIcommandTree.cc.
References GetPathName(), and tree.
|
inline |
Definition at line 75 of file G4UIcommandTree.hh.
References tree.
Referenced by CompleteCommandPath(), G4UIWin32::CreateHelpTree(), G4UIQt::CreateHelpTree(), G4UIQt::FillHelpTree(), G4UImanager::FindDirectory(), G4VBasicShell::FindDirectory(), G4UIWin32::InitHelpTreeItems(), G4UIQt::LookForHelpStringInChildTree(), G4UIQt::OpenHelpTreeOnCommand(), and G4VBasicShell::TerminalHelp().
|
inline |
Definition at line 73 of file G4UIcommandTree.hh.
References tree.
Referenced by CompleteCommandPath(), G4UIWin32::CreateHelpTree(), G4UIQt::CreateHelpTree(), export_G4UIcommandTree(), G4UIQt::FillHelpTree(), G4UIWin32::InitHelpTreeItems(), G4UIQt::LookForHelpStringInChildTree(), G4UIQt::OpenHelpTreeOnCommand(), and G4VBasicShell::TerminalHelp().
void G4UIcommandTree::List | ( | ) | const |
Definition at line 497 of file G4UIcommandTree.cc.
References command, ListCurrent(), and tree.
Referenced by export_G4UIcommandTree(), and G4UImanager::ListCommands().
void G4UIcommandTree::ListCurrent | ( | ) | const |
Definition at line 433 of file G4UIcommandTree.cc.
References command, G4cout, G4endl, GetGuidance(), guidance, G4UIcommand::List(), pathName, and tree.
Referenced by export_G4UIcommandTree(), List(), and G4VBasicShell::ListDirectory().
void G4UIcommandTree::ListCurrentWithNum | ( | ) | const |
Definition at line 472 of file G4UIcommandTree.cc.
References command, G4cout, G4endl, guidance, G4UIcommand::List(), pathName, and tree.
Referenced by export_G4UIcommandTree(), and G4VBasicShell::TerminalHelp().
|
private |
Definition at line 526 of file G4UIcommandTree.cc.
Referenced by CreateHTML().
G4bool G4UIcommandTree::operator!= | ( | const G4UIcommandTree & | right | ) | const |
Definition at line 69 of file G4UIcommandTree.cc.
References GetPathName(), and pathName.
G4bool G4UIcommandTree::operator== | ( | const G4UIcommandTree & | right | ) | const |
Definition at line 63 of file G4UIcommandTree.cc.
References GetPathName(), and pathName.
void G4UIcommandTree::RemoveCommand | ( | G4UIcommand * | aCommand, |
G4bool | workerThreadOnly = false |
||
) |
Definition at line 176 of file G4UIcommandTree.cc.
References command, G4UIcommand::GetCommandPath(), GetPathName(), guidance, G4UIcommand::IsWorkerThreadOnly(), pathName, and tree.
Referenced by G4UImanager::RemoveCommand(), and G4UImanager::RemoveWorkerCommand().
|
private |
Definition at line 93 of file G4UIcommandTree.hh.
Referenced by AddNewCommand().
|
private |
Definition at line 89 of file G4UIcommandTree.hh.
Referenced by AddNewCommand(), CreateHTML(), FindPath(), GetCommand(), GetCommandEntry(), List(), ListCurrent(), ListCurrentWithNum(), and RemoveCommand().
|
private |
Definition at line 95 of file G4UIcommandTree.hh.
Referenced by CreateHTML().
|
private |
Definition at line 91 of file G4UIcommandTree.hh.
Referenced by AddNewCommand(), CreateHTML(), GetGuidance(), GetTitle(), ListCurrent(), ListCurrentWithNum(), and RemoveCommand().
|
private |
Definition at line 94 of file G4UIcommandTree.hh.
Referenced by AddNewCommand().
|
private |
Definition at line 92 of file G4UIcommandTree.hh.
Referenced by AddNewCommand(), CreateHTML(), FindCommandTree(), FindPath(), G4UIcommandTree(), GetPathName(), ListCurrent(), ListCurrentWithNum(), operator!=(), operator==(), and RemoveCommand().
|
private |
Definition at line 90 of file G4UIcommandTree.hh.
Referenced by AddNewCommand(), CreateHTML(), FindCommandTree(), FindPath(), GetTree(), GetTreeEntry(), List(), ListCurrent(), ListCurrentWithNum(), RemoveCommand(), and ~G4UIcommandTree().