23   std::istringstream input_stream(input);
 
   24   std::vector<Line> lines;
 
   29   while (std::getline(input_stream, line)) {
 
   31     const auto hash_pos = line.find(
'#');
 
   32     if (hash_pos != std::string::npos) {
 
   34       line = line.substr(0, hash_pos);
 
   36     if (line.find_first_not_of(
" \t") == std::string::npos) {
 
   41     lines.emplace_back(line_number, std::move(line));
 
#define SMASH_SOURCE_LOCATION
Hackery that is required to output the location in the source code where the log statement occurs.
 
std::array< einhard::Logger<>, std::tuple_size< LogArea::AreaTuple >::value > logg
An array that stores all pre-configured Logger objects.
 
build_vector_< Line > line_parser(const std::string &input)
Helper function for parsing particles.txt and decaymodes.txt.
 
std::string trim(const std::string &s)
Strip leading and trailing whitespaces.
 
static constexpr int LInputParser