Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -1,48 +1,64 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4GeometryTable.hh,v 1.3 2000/01/21 13:45:26 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class G4GeometryTable
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
//
|
||||
|
||||
// Authors: J.Sulkimo, P.Urban.
|
||||
// Revisions by: L.Broglia, G.Cosmo.
|
||||
//
|
||||
// History:
|
||||
// 18-Nov-1999: First step of re-engineering - G.Cosmo
|
||||
// ----------------------------------------------------------------------
|
||||
#ifndef G4GEOMETRYTABLE_HH
|
||||
#define G4GEOMETRYTABLE_HH
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4GeometryCreator.hh"
|
||||
//#include "G4OrderedTable.hh"
|
||||
//#include "G4NISTStepReader.hh"
|
||||
|
||||
//typedef G4RWTPtrOrderedVector<G4Curve> G4CurveVector;
|
||||
//typedef G4RWTPtrOrderedVector<G4CurveVector> G4BoundaryVector;
|
||||
//typedef G4RWTPtrOrderedVector<G4PlacedSolid> G4PlacedSolidVector;
|
||||
//typedef G4RWTPtrOrderedVector<G4GeometryCreator*> G4CreatorVector;
|
||||
typedef G4RWTPtrOrderedVector<G4GeometryCreator> G4CreatorVector;
|
||||
//typedef G4RWTPtrOrderedVector<G4Surface> G4SurfaceVector;
|
||||
//typedef G4RWTPtrOrderedVector<G4BREPSolid> G4SolidVector;
|
||||
|
||||
|
||||
|
||||
//operator ==(class G4RWTPtrOrderedVector<G4Curve> a, class G4RWTPtrOrderedVector<G4Curve> b){}
|
||||
|
||||
|
||||
class G4GeometryTable
|
||||
{
|
||||
public:
|
||||
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;}
|
||||
|
||||
~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:
|
||||
|
||||
public:
|
||||
// Constructor, singleton
|
||||
G4GeometryTable();
|
||||
|
||||
//Members
|
||||
private:
|
||||
static G4CreatorVector RegisteredObjects;
|
||||
static G4GeometryTable gt;
|
||||
G4GeometryTable();
|
||||
|
||||
// Members
|
||||
|
||||
private:
|
||||
|
||||
static G4CreatorVector RegisteredObjects;
|
||||
static G4GeometryTable gt;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user