Import Geant4 3.2.0 source tree
This commit is contained in:
@@ -1,19 +1,35 @@
|
||||
// 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.
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. *
|
||||
// * *
|
||||
// * 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: G4SolidStore.hh,v 1.4 2000/04/20 16:49:48 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
// $Id: G4SolidStore.hh,v 1.5.2.1 2001/06/28 19:08:27 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
//
|
||||
// class G4SolidStore
|
||||
//
|
||||
// Class description:
|
||||
//
|
||||
// Container for all solids, with functionality derived from
|
||||
// G4RWTPtrOrderedVector<T>. The class is a `singleton', in that only
|
||||
// std::vector<T>. The class is a `singleton', in that only
|
||||
// one can exist, and access is provided via the static method
|
||||
// G4SolidStore::GetInstance().
|
||||
//
|
||||
@@ -22,7 +38,7 @@
|
||||
// container initially has a capacity of 100.
|
||||
//
|
||||
// If much additional functionality is added, should consider containment
|
||||
// instead of inheritance for G4RWTPtrOrderedVector<T>
|
||||
// instead of inheritance for std::vector<T>
|
||||
//
|
||||
// Member data:
|
||||
//
|
||||
@@ -30,16 +46,17 @@
|
||||
// - Ptr to the single G4SolidStore
|
||||
|
||||
// History:
|
||||
// 10.07.95 P.Kent Initial version
|
||||
// 18.04.01 G.Cosmo Migrated to STL vector
|
||||
// 10.07.95 P.Kent Initial version
|
||||
|
||||
#ifndef G4VSOLIDSTORE_HH
|
||||
#define G4VSOLIDSTORE_HH
|
||||
|
||||
#include "g4rw/tpordvec.h"
|
||||
#include "g4std/vector"
|
||||
|
||||
#include "G4VSolid.hh"
|
||||
|
||||
class G4SolidStore : public G4RWTPtrOrderedVector<G4VSolid>
|
||||
class G4SolidStore : public G4std::vector<G4VSolid*>
|
||||
{
|
||||
public: // with description
|
||||
|
||||
|
||||
Reference in New Issue
Block a user