Version: SMASH-3.1
inputfunctions.h File Reference
#include <iostream>
#include <string>
#include <utility>
#include "forwarddeclarations.h"
#include "particletype.h"

Go to the source code of this file.

Classes

struct  smash::Line
 Line consists of a line number and the contents of that line. More...
 

Namespaces

 smash
 

Functions

std::string smash::build_error_string (std::string message, const Line &line)
 Builds a meaningful error message. More...
 
build_vector_< Line > smash::line_parser (const std::string &input)
 Helper function for parsing particles.txt and decaymodes.txt. More...
 
void smash::ensure_all_read (std::istream &input, const Line &line)
 Makes sure that nothing is left to read from this line. More...
 
std::string smash::read_all (std::istream &&input)
 Utility function to read a complete input stream (e.g. More...
 
bool smash::has_crlf_line_ending (const std::string in)
 Check if a line in the string ends with \r\n. More...