7#ifndef G4OCCT_G4OCCTMaterialMap_hh
8#define G4OCCT_G4OCCTMaterialMap_hh
50 void Add(
const G4String& stepName, G4Material* material);
60 G4Material*
Resolve(
const G4String& stepName)
const;
65 bool Contains(
const G4String& stepName)
const;
70 std::size_t
Size()
const {
return fMap.size(); }
83 std::map<G4String, G4Material*> fMap;
Maps STEP material names to Geant4 G4Material objects.
void Add(const G4String &stepName, G4Material *material)
G4OCCTMaterialMap()=default
bool Contains(const G4String &stepName) const
void Merge(const G4OCCTMaterialMap &other)
G4Material * Resolve(const G4String &stepName) const