![]() |
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Namespaces for different useful fonctions reading input text file. Namespaces for material database file, MHD file and other files. More...


Go to the source code of this file.
Namespaces | |
| GGEMSMaterialTextReader | |
| namespace reading material database file | |
| GGEMSTextReader | |
| namespace reading common text file | |
| GGEMSMHDReader | |
| namespace reading mhd header | |
| GGEMSRangeReader | |
| namespace reading range material in text file | |
Functions | |
| std::string | GGEMSMaterialReader::ReadMaterialName (std::string const &line) |
| return the name of the material More... | |
| GGfloat | GGEMSMaterialReader::ReadMaterialDensity (std::string const &line) |
| return the density of material More... | |
| GGsize | GGEMSMaterialReader::ReadMaterialNumberOfElements (std::string const &line) |
| return the number of elements in material More... | |
| std::string | GGEMSMaterialReader::ReadMaterialElementName (std::string const &line) |
| return the name of material element name More... | |
| GGfloat | GGEMSMaterialReader::ReadMaterialElementFraction (std::string const &line) |
| return the number of element fraction More... | |
| void | GGEMSTextReader::SkipComment (std::ifstream &stream, std::string &line, char const comment='#') |
| skip a special line beginning by a comment caracter More... | |
| bool | GGEMSTextReader::IsBlankLine (std::string const &line) |
| check if the line is blank or not More... | |
| void | GGEMSTextReader::RemoveSpace (std::string &line) |
| remove all spaces and tab from a string More... | |
| std::string | GGEMSMHDReader::ReadKey (std::string &line) |
| get the key of MHD header More... | |
| std::istringstream | GGEMSMHDReader::ReadValue (std::string &line) |
| get string stream of value More... | |
| std::istringstream | GGEMSRangeReader::ReadRangeMaterial (std::string &line) |
| get string stream of value for material range More... | |
Namespaces for different useful fonctions reading input text file. Namespaces for material database file, MHD file and other files.
Definition in file GGEMSTextReader.hh.
| GGfloat GGEMSMaterialReader::ReadMaterialDensity | ( | std::string const & | line | ) |
return the density of material
| line | - string to analyze |
Definition at line 50 of file GGEMSTextReader.cc.
| GGfloat GGEMSMaterialReader::ReadMaterialElementFraction | ( | std::string const & | line | ) |
return the number of element fraction
| line | - string to analyze |
Definition at line 114 of file GGEMSTextReader.cc.
| std::string GGEMSMaterialReader::ReadMaterialElementName | ( | std::string const & | line | ) |
return the name of material element name
| line | - string to analyze |
Definition at line 101 of file GGEMSTextReader.cc.
| std::string GGEMSMaterialReader::ReadMaterialName | ( | std::string const & | line | ) |
return the name of the material
| line | - string to analyze |
Definition at line 41 of file GGEMSTextReader.cc.
| GGsize GGEMSMaterialReader::ReadMaterialNumberOfElements | ( | std::string const & | line | ) |
return the number of elements in material
| line | - string to analyze |
Definition at line 83 of file GGEMSTextReader.cc.