Go to the documentation of this file.
5 #ifndef trivialParser_h
6 #define trivialParser_h
static const std::string input
void eraseSpaces(std::string &word)
get rid of spaces
std::string getNextLine(std::ifstream &input)
returns the next not commented line
double getVal(std::string name)
return the value for that parameter
void print(std::string prefix="")
print the read params
void parse(std::string configFile)
parse the cfg file
trivialParser(std::string configFile)
ctor
std::map< std::string, double > m_config
container for the output