Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
+7 -9
View File
@@ -36,15 +36,14 @@
#ifndef G4UIcommandTree_hh
#define G4UIcommandTree_hh 1
#include <vector>
#include "globals.hh"
#include "G4UIcommand.hh"
#include "globals.hh"
#include <vector>
class G4UIcommandTree
{
public:
G4UIcommandTree() = default;
G4UIcommandTree(const char* thePathName);
@@ -59,9 +58,9 @@ class G4UIcommandTree
G4UIcommandTree* FindCommandTree(const char* commandPath);
G4String GetFirstMatchedString(const G4String&, const G4String&) const;
// Complete most available characters in common into command path in the
// command line given
G4String CompleteCommandPath(const G4String& commandPath);
// Complete most available characters in common into command path in the
// command line given
void List() const;
void ListCurrent() const;
@@ -77,15 +76,14 @@ class G4UIcommandTree
inline G4UIcommand* GetCommand(G4int i) { return command[i - 1]; }
inline const G4String GetTitle() const
{
return (guidance == nullptr) ? G4String("...Title not available...")
: guidance->GetTitle();
return (guidance == nullptr) ? G4String("...Title not available...") : guidance->GetTitle();
}
private:
G4String CreateFileName(const char* pName);
G4String ModStr(const char* strS);
private:
std::vector<G4UIcommand*> command;
std::vector<G4UIcommandTree*> tree;
G4UIcommand* guidance = nullptr;