Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VMaterialExtension Class Referenceabstract

#include <G4VMaterialExtension.hh>

+ Inheritance diagram for G4VMaterialExtension:

Public Member Functions

 G4VMaterialExtension (const G4String &name)
 
virtual ~G4VMaterialExtension ()=default
 
virtual void Print () const =0
 
const std::size_t & GetHash () const
 
const G4StringGetName () const
 

Protected Attributes

const G4StringfName
 
const std::size_t fHash
 

Detailed Description

Definition at line 53 of file G4VMaterialExtension.hh.

Constructor & Destructor Documentation

◆ G4VMaterialExtension()

G4VMaterialExtension::G4VMaterialExtension ( const G4String & name)
inline

Definition at line 57 of file G4VMaterialExtension.hh.

58 {}
std::hash< std::string > G4MaterialExtensionHash
const char * name(G4int ptype)

◆ ~G4VMaterialExtension()

virtual G4VMaterialExtension::~G4VMaterialExtension ( )
virtualdefault

Member Function Documentation

◆ GetHash()

const std::size_t & G4VMaterialExtension::GetHash ( ) const
inline

Definition at line 64 of file G4VMaterialExtension.hh.

64{ return fHash; }

◆ GetName()

const G4String & G4VMaterialExtension::GetName ( ) const
inline

Definition at line 66 of file G4VMaterialExtension.hh.

66{ return fName; }

◆ Print()

virtual void G4VMaterialExtension::Print ( ) const
pure virtual

Member Data Documentation

◆ fHash

const std::size_t G4VMaterialExtension::fHash
protected

Definition at line 73 of file G4VMaterialExtension.hh.

Referenced by GetHash().

◆ fName

const G4String& G4VMaterialExtension::fName
protected

Definition at line 70 of file G4VMaterialExtension.hh.

Referenced by GetName().


The documentation for this class was generated from the following file: