#include <G4tgrMaterialFactory.hh>
Definition at line 58 of file G4tgrMaterialFactory.hh.
G4tgrMaterialFactory::~G4tgrMaterialFactory |
( |
| ) |
|
Definition at line 67 of file G4tgrMaterialFactory.cc.
69 G4mstgrisot::iterator isotcite;
70 for( isotcite = theG4tgrIsotopes.begin();
71 isotcite != theG4tgrIsotopes.end(); isotcite++)
73 delete (*isotcite).second;
75 theG4tgrIsotopes.clear();
77 G4mstgrelem::iterator elemcite;
78 for( elemcite = theG4tgrElements.begin();
79 elemcite != theG4tgrElements.end(); elemcite++)
81 delete (*elemcite).second;
83 theG4tgrElements.clear();
85 G4mstgrmate::iterator matcite;
86 for( matcite = theG4tgrMaterials.begin();
87 matcite != theG4tgrMaterials.end(); matcite++)
89 delete (*matcite).second;
91 theG4tgrMaterials.clear();
Definition at line 131 of file G4tgrMaterialFactory.cc.
136 ErrorAlreadyExists(
"element", wl );
140 theG4tgrElements[elem->
GetName()] = elem;
static G4String GetString(const G4String &str)
const G4String & GetName() const
G4tgrElement * FindElement(const G4String &name) const
Definition at line 114 of file G4tgrMaterialFactory.cc.
119 ErrorAlreadyExists(
"element", wl );
123 theG4tgrElements[elem->
GetName()] = elem;
static G4String GetString(const G4String &str)
const G4String & GetName() const
G4tgrElement * FindElement(const G4String &name) const
Definition at line 98 of file G4tgrMaterialFactory.cc.
103 ErrorAlreadyExists(
"isotope", wl );
107 theG4tgrIsotopes[isot->
GetName()] = isot;
G4tgrIsotope * FindIsotope(const G4String &name) const
const G4String & GetName() const
static G4String GetString(const G4String &str)
Definition at line 174 of file G4tgrMaterialFactory.cc.
180 G4cout <<
" G4tgrMaterialFactory::AddMaterialMixture " << wl[1] <<
G4endl;
187 ErrorAlreadyExists(
"material mixture", wl );
194 theG4tgrMaterials[ mate->
GetName() ] = mate;
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
G4tgrMaterial * FindMaterial(const G4String &name) const
static G4String GetString(const G4String &str)
Definition at line 148 of file G4tgrMaterialFactory.cc.
153 G4cout <<
" G4tgrMaterialFactory::AddMaterialSimple" << wl[1] <<
G4endl;
160 ErrorAlreadyExists(
"material simple", wl );
166 theG4tgrMaterials[ mate->
GetName() ] = mate;
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
G4tgrMaterial * FindMaterial(const G4String &name) const
static G4String GetString(const G4String &str)
void G4tgrMaterialFactory::DumpElementList |
( |
| ) |
const |
Definition at line 295 of file G4tgrMaterialFactory.cc.
297 G4cout <<
" @@@@@@@@@@@@@@@@ DUMPING G4tgrElement's List " <<
G4endl;
298 G4mstgrelem::const_iterator cite;
299 for(cite = theG4tgrElements.begin(); cite != theG4tgrElements.end(); cite++)
301 G4cout <<
" ELEM: " << (*cite).second->GetName() <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void G4tgrMaterialFactory::DumpIsotopeList |
( |
| ) |
const |
Definition at line 283 of file G4tgrMaterialFactory.cc.
285 G4cout <<
" @@@@@@@@@@@@@@@@ DUMPING G4tgrIsotope's List " <<
G4endl;
286 G4mstgrisot::const_iterator cite;
287 for(cite = theG4tgrIsotopes.begin(); cite != theG4tgrIsotopes.end(); cite++)
289 G4cout <<
" ISOT: " << (*cite).second->GetName() <<
G4endl;
G4GLOB_DLL std::ostream G4cout
void G4tgrMaterialFactory::DumpMaterialList |
( |
| ) |
const |
Definition at line 307 of file G4tgrMaterialFactory.cc.
309 G4cout <<
" @@@@@@@@@@@@@@@@ DUMPING G4tgrMaterial's List " <<
G4endl;
310 G4mstgrmate::const_iterator cite;
311 for(cite = theG4tgrMaterials.begin(); cite != theG4tgrMaterials.end(); cite++)
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
G4int GetNumberOfComponents() const
const G4String & GetType() const
Definition at line 231 of file G4tgrMaterialFactory.cc.
236 G4cout <<
" G4tgrMaterialFactory::FindElement() - " << name <<
G4endl;
239 G4mstgrelem::const_iterator cite;
240 cite = theG4tgrElements.find( name );
241 if( cite == theG4tgrElements.end() )
251 G4cout <<
" G4tgrElement found: "
252 << ( (*cite).second )->GetName() <<
G4endl;
255 return (*cite).second;
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
void DumpElementList() const
Definition at line 201 of file G4tgrMaterialFactory.cc.
206 G4cout <<
" G4tgrMaterialFactory::FindIsotope() - " << name <<
G4endl;
210 G4mstgrisot::const_iterator cite;
211 cite = theG4tgrIsotopes.find( name );
212 if( cite == theG4tgrIsotopes.end() )
221 G4cout <<
" G4tgrIsotope found: "
222 << ( (*cite).second )->GetName() <<
G4endl;
225 return (*cite).second;
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
Definition at line 261 of file G4tgrMaterialFactory.cc.
266 G4cout <<
" G4tgrMaterialFactory::FindMaterial() - " << name <<
G4endl;
269 G4mstgrmate::const_iterator cite;
270 cite = theG4tgrMaterials.find( name );
271 if( cite == theG4tgrMaterials.end() )
277 return (*cite).second;
G4GLOB_DLL std::ostream G4cout
static G4int GetVerboseLevel()
const G4mstgrelem& G4tgrMaterialFactory::GetElementList |
( |
| ) |
const |
|
inline |
const G4mstgrisot& G4tgrMaterialFactory::GetIsotopeList |
( |
| ) |
const |
|
inline |
const G4mstgrmate& G4tgrMaterialFactory::GetMaterialList |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: