Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4UIcommandTree.hh,v 1.7.2.1 2001/06/28 19:10:15 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: G4UIcommandTree.hh,v 1.12 2001/10/16 08:14:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
|
||||
#ifndef G4UIcommandTree_h
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
#include "G4UIcommand.hh"
|
||||
#include "globals.hh"
|
||||
//#include "g4rw/tpordvec.h"
|
||||
#include "g4std/vector"
|
||||
|
||||
// class description:
|
||||
@@ -47,8 +46,8 @@ class G4UIcommandTree
|
||||
G4UIcommandTree(G4String thePathName);
|
||||
G4UIcommandTree(const char * thePathName);
|
||||
~G4UIcommandTree();
|
||||
int operator==(const G4UIcommandTree &right) const;
|
||||
int operator!=(const G4UIcommandTree &right) const;
|
||||
G4int operator==(const G4UIcommandTree &right) const;
|
||||
G4int operator!=(const G4UIcommandTree &right) const;
|
||||
|
||||
public:
|
||||
void AddNewCommand(G4UIcommand * newCommand);
|
||||
@@ -57,8 +56,12 @@ class G4UIcommandTree
|
||||
void List();
|
||||
void ListCurrent();
|
||||
void ListCurrentWithNum();
|
||||
void CreateHTML();
|
||||
|
||||
private:
|
||||
G4String CreateFileName(G4String pName);
|
||||
G4String ModStr(G4String str);
|
||||
|
||||
G4std::vector<G4UIcommand*> command;
|
||||
G4std::vector<G4UIcommandTree*> tree;
|
||||
G4UIcommand *guidance;
|
||||
@@ -73,7 +76,7 @@ class G4UIcommandTree
|
||||
{ return tree.size(); };
|
||||
inline G4int GetCommandEntry() const
|
||||
{ return command.size(); };
|
||||
inline G4UIcommandTree * GetTree(int i)
|
||||
inline G4UIcommandTree * GetTree(G4int i)
|
||||
{ return tree[i-1]; };
|
||||
inline G4UIcommandTree * GetTree(G4String comName)
|
||||
{
|
||||
@@ -84,7 +87,7 @@ class G4UIcommandTree
|
||||
}
|
||||
return NULL;
|
||||
};
|
||||
inline G4UIcommand * GetCommand(int i)
|
||||
inline G4UIcommand * GetCommand(G4int i)
|
||||
{ return command[i-1]; };
|
||||
inline const G4String GetTitle() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user