#include <G4MaterialPropertiesTable.hh>
|
| G4MaterialPropertiesTable () |
|
| ~G4MaterialPropertiesTable () |
|
void | AddConstProperty (const char *key, G4double PropertyValue) |
|
G4MaterialPropertyVector * | AddProperty (const char *key, G4double *PhotonEnergies, G4double *PropertyValues, G4int NumEntries) |
|
void | AddProperty (const char *key, G4MaterialPropertyVector *opv) |
|
void | RemoveConstProperty (const char *key) |
|
void | RemoveProperty (const char *key) |
|
G4double | GetConstProperty (const char *key) |
|
G4bool | ConstPropertyExists (const char *key) |
|
G4MaterialPropertyVector * | GetProperty (const char *key) |
|
void | AddEntry (const char *key, G4double aPhotonEnergy, G4double aPropertyValue) |
|
void | DumpTable () |
|
const std::map< G4String, G4MaterialPropertyVector *, std::less< G4String > > * | GetPropertiesMap () const |
|
const std::map< G4String, G4double, std::less< G4String > > * | GetPropertiesCMap () const |
|
◆ G4MaterialPropertiesTable()
G4MaterialPropertiesTable::G4MaterialPropertiesTable |
( |
| ) |
|
◆ ~G4MaterialPropertiesTable()
G4MaterialPropertiesTable::~G4MaterialPropertiesTable |
( |
| ) |
|
Definition at line 65 of file G4MaterialPropertiesTable.cc.
66{
67 MPTiterator i;
68 for (i = MPT.begin(); i != MPT.end(); ++i)
69 {
70 delete (*i).second;
71 }
72 MPT.clear();
73 MPTC.clear();
74}
◆ AddConstProperty()
void G4MaterialPropertiesTable::AddConstProperty |
( |
const char * |
key, |
|
|
G4double |
PropertyValue |
|
) |
| |
|
inline |
◆ AddEntry()
void G4MaterialPropertiesTable::AddEntry |
( |
const char * |
key, |
|
|
G4double |
aPhotonEnergy, |
|
|
G4double |
aPropertyValue |
|
) |
| |
|
inline |
◆ AddProperty() [1/2]
◆ AddProperty() [2/2]
◆ ConstPropertyExists()
G4bool G4MaterialPropertiesTable::ConstPropertyExists |
( |
const char * |
key | ) |
|
|
inline |
◆ DumpTable()
void G4MaterialPropertiesTable::DumpTable |
( |
| ) |
|
Definition at line 80 of file G4MaterialPropertiesTable.cc.
81{
82 MPTiterator i;
83 for (i = MPT.begin(); i != MPT.end(); ++i)
84 {
86 if ( (*i).second != 0 )
87 {
88 (*i).second->DumpValues();
89 }
90 else
91 {
92 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat204",
93 JustWarning,
"NULL Material Property Vector Pointer.");
94 }
95 }
96 MPTCiterator j;
97 for (j = MPTC.begin(); j != MPTC.end(); ++j)
98 {
100 if ( j->second != 0 )
101 {
103 }
104 else
105 {
106 G4Exception(
"G4MaterialPropertiesTable::DumpTable()",
"mat202",
108 }
109 }
110}
G4DLLIMPORT std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ GetConstProperty()
G4double G4MaterialPropertiesTable::GetConstProperty |
( |
const char * |
key | ) |
|
|
inline |
◆ GetPropertiesCMap()
◆ GetPropertiesMap()
◆ GetProperty()
◆ RemoveConstProperty()
void G4MaterialPropertiesTable::RemoveConstProperty |
( |
const char * |
key | ) |
|
|
inline |
◆ RemoveProperty()
void G4MaterialPropertiesTable::RemoveProperty |
( |
const char * |
key | ) |
|
|
inline |
The documentation for this class was generated from the following files: