43#ifndef G4EXTENDEDMATERIAL_HH
44#define G4EXTENDEDMATERIAL_HH 1
47#include <unordered_map>
58 std::unique_ptr<G4VMaterialExtension>,
79 G4double pressure = CLHEP::STP_Pressure);
90 G4double pressure = CLHEP::STP_Pressure);
100 G4double pressure = CLHEP::STP_Pressure);
120 {
return G4int(fExtensionMap.size()); }
124 G4MaterialExtensionMap::const_iterator
begin()
const {
return fExtensionMap.begin(); }
125 G4MaterialExtensionMap::const_iterator
cbegin()
const {
return fExtensionMap.cbegin(); }
126 G4MaterialExtensionMap::const_iterator
end()
const {
return fExtensionMap.end(); }
127 G4MaterialExtensionMap::const_iterator
cend()
const {
return fExtensionMap.cend(); }
131 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
G4bool IsExtended() const override
G4MaterialExtensionMap::const_iterator begin() const
G4VMaterialExtension * RetrieveExtension(const G4String &name)
G4MaterialExtensionMap::const_iterator cbegin() const
G4MaterialExtensionMap::const_iterator cend() const
~G4ExtendedMaterial() override=default