6 #ifndef trivialParser_h
7 #define trivialParser_h
std::map< std::string, double > m_config
container for the output
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
void eraseSpaces(std::string &word)
get rid of spaces