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