Import Geant4 0.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-01 15:25:35 +02:00
parent 54d6b71f95
commit b97f8d0df7
3237 changed files with 807095 additions and 0 deletions
@@ -0,0 +1,48 @@
#ifndef G4GEOMETRYTABLE_HH
#define G4GEOMETRYTABLE_HH
#include "G4GeometryCreator.hh"
//#include "G4OrderedTable.hh"
//#include "G4NISTStepReader.hh"
//typedef RWTPtrOrderedVector<G4Curve> G4CurveVector;
//typedef RWTPtrOrderedVector<G4CurveVector> G4BoundaryVector;
//typedef RWTPtrOrderedVector<G4PlacedSolid> G4PlacedSolidVector;
//typedef RWTPtrOrderedVector<G4GeometryCreator*> G4CreatorVector;
typedef RWTPtrOrderedVector<G4GeometryCreator> G4CreatorVector;
//typedef RWTPtrOrderedVector<G4Surface> G4SurfaceVector;
//typedef RWTPtrOrderedVector<G4BREPSolid> G4SolidVector;
//operator ==(class RWTPtrOrderedVector<G4Curve> a, class RWTPtrOrderedVector<G4Curve> b){}
class G4GeometryTable
{
public:
// Destructor
~G4GeometryTable();
//Member functions
static void RegisterObject(G4GeometryCreator*);
static G4bool ExistsInTable(G4String&);
static G4GeometryCreator* GetObject(G4String);
static void* CreateObject(STEPentity&);
static void* CreateSTEPObject(void*, G4String&);
static void PrintObjectNames();
static G4GeometryTable& GetInstance(){return gt;}
public:
// Constructor, singleton
G4GeometryTable();
//Members
private:
static G4CreatorVector RegisteredObjects;
static G4GeometryTable gt;
};
#endif