34 namespace G4AttDefStore {
36 std::map<G4String,std::map<G4String,G4AttDef>*> *
m_defsmaps = 0;
40 std::map<G4String,G4AttDef>*
46 m_defsmaps =
new std::map<G4String,std::map<G4String,G4AttDef>*>;
51 std::map<G4String,G4AttDef>* definitions;
52 std::map<G4String,std::map<G4String,G4AttDef>*>::iterator iDefinitions =
58 definitions =
new std::map<G4String,G4AttDef>;
59 (*m_defsmaps)[storeKey] = definitions;
64 definitions = iDefinitions->second;
70 (
const std::map<G4String,G4AttDef>* definitions,
G4String& key)
75 m_defsmaps =
new std::map<G4String,std::map<G4String,G4AttDef>*>;
76 std::map<G4String,std::map<G4String,G4AttDef>*>::const_iterator i;
79 if (i->second == definitions)
std::map< G4String, std::map< G4String, G4AttDef > * > * m_defsmaps
#define G4MUTEX_INITIALIZER
std::map< G4String, G4AttDef > * GetInstance(const G4String &storeKey, G4bool &isNew)
G4bool GetStoreKey(const std::map< G4String, G4AttDef > *definitions, G4String &key)