Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
@@ -22,7 +22,7 @@
//
//--------------------------------------------------------------------------
// File and Version Information:
// $Id: HepRepXMLWriter.hh,v 1.4 2001/12/13 12:04:25 gunter Exp $
// $Id: HepRepXMLWriter.hh,v 1.8 2002/02/02 04:00:19 perl Exp $
//
// Description:
// Create a HepRep XML File (HepRep version 1).
@@ -47,7 +47,7 @@ class HepRepXMLWriter
public:
HepRepXMLWriter();
void addType(const char* name);
void addType(const char* name, int newTypeDepth);
void addInstance();
void addPrimitive();
void addPoint(double x, double y, double z);
@@ -57,7 +57,6 @@ public:
const char* type,
const char* extra);
// Four methods to fill attValues
void addAttValue(const char* name,
const char* value);
@@ -77,12 +76,20 @@ public:
void open(const char* filespec);
void close();
void endTypes();
bool isOpen;
int typeDepth;
bool inType[50];
bool inInstance[50];
char* prevTypeName[50];
private:
G4std::ofstream fout;
bool inType;
bool inInstance;
void init();
bool inPrimitive;
bool inPoint;