44#ifndef G4EXTENDEDMATERIAL_HH
45#define G4EXTENDEDMATERIAL_HH 1
48#include <unordered_map>
59 std::unique_ptr<G4VMaterialExtension>,
80 G4double pressure = CLHEP::STP_Pressure);
91 G4double pressure = CLHEP::STP_Pressure);
101 G4double pressure = CLHEP::STP_Pressure);
121 {
return G4int(fExtensionMap.size()); }
125 G4MaterialExtensionMap::const_iterator
begin()
const {
return fExtensionMap.begin(); }
126 G4MaterialExtensionMap::const_iterator
cbegin()
const {
return fExtensionMap.cbegin(); }
127 G4MaterialExtensionMap::const_iterator
end()
const {
return fExtensionMap.end(); }
128 G4MaterialExtensionMap::const_iterator
cend()
const {
return fExtensionMap.cend(); }
132 void Print(std::ostream& flux)
const;
std::unordered_map< G4String, std::unique_ptr< G4VMaterialExtension >, G4MaterialExtensionHash > G4MaterialExtensionMap
std::hash< std::string > G4MaterialExtensionHash
void Print(std::ostream &flux) const
G4int GetNumberOfExtensions() const
void RegisterExtension(std::unique_ptr< G4VMaterialExtension > extension)
G4MaterialExtensionMap::const_iterator end() const
virtual ~G4ExtendedMaterial()
virtual G4bool IsExtended() const
G4MaterialExtensionMap::const_iterator begin() const
G4VMaterialExtension * RetrieveExtension(const G4String &name)
G4MaterialExtensionMap::const_iterator cbegin() const
G4MaterialExtensionMap::const_iterator cend() const