Import Geant4 8.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:55:03 +02:00
parent 216a75eeb1
commit fe73f43734
6714 changed files with 118229 additions and 68144 deletions
+14 -8
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4AttDefStore.hh,v 1.7 2006/06/29 19:05:16 gunter Exp $
// GEANT4 tag $Name: geant4-08-01 $
// $Id: G4AttDefStore.hh,v 1.10 2006/11/01 10:08:41 allison Exp $
// GEANT4 tag $Name: geant4-08-02 $
#ifndef G4ATTDEFSTORE_HH
#define G4ATTDEFSTORE_HH
@@ -40,11 +40,17 @@ class G4AttDefStore
public:
static std::map<G4String,G4AttDef>*
GetInstance(G4String storeName, G4bool& isNew);
// Returns a pointer to the named store
// and isNew is true if store is new.
// The store keeps the ownership of the returned
// pointer to the map.
GetInstance(G4String storeKey, G4bool& isNew);
// Returns a pointer to the definitions accessed by the given
// key. "isNew" is true if definitions pointer is new and
// therefore the needs filling. The store keeps the ownership
// of the returned pointer. See G4Trajectory::GetAttDefs for an
// example of the use of this class.
static G4bool GetStoreKey
(const std::map<G4String,G4AttDef>* definitions, G4String& key);
// Returns true and assigns key if definitions are amongst those
// maintained in the store.
~G4AttDefStore();
// Destructor.
@@ -58,7 +64,7 @@ class G4AttDefStore
G4AttDefStore(const G4AttDefStore&);
G4AttDefStore& operator=(const G4AttDefStore&);
static std::map<G4String,std::map<G4String,G4AttDef>*> m_stores;
static std::map<G4String,std::map<G4String,G4AttDef>*> m_defsmaps;
static G4AttDefStore* theInstance;
};