GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
namespace reading common text file More...
Functions | |
void | SkipComment (std::ifstream &stream, std::string &line, char const comment='#') |
skip a special line beginning by a comment caracter More... | |
bool | IsBlankLine (std::string const &line) |
check if the line is blank or not More... | |
void | RemoveSpace (std::string &line) |
remove all spaces and tab from a string More... | |
namespace reading common text file
bool GGEMSTextReader::IsBlankLine | ( | std::string const & | line | ) |
check if the line is blank or not
line | - string to analyze |
Definition at line 146 of file GGEMSTextReader.cc.
void GGEMSTextReader::RemoveSpace | ( | std::string & | line | ) |
remove all spaces and tab from a string
line | - string to analyze |
Definition at line 156 of file GGEMSTextReader.cc.
void GGEMSTextReader::SkipComment | ( | std::ifstream & | stream, |
std::string & | line, | ||
char const | comment = '#' |
||
) |
skip a special line beginning by a comment caracter
stream | - stream of a file |
line | - line containing the string of the line |
comment | - special comment caracter to skip |
Definition at line 131 of file GGEMSTextReader.cc.