35 int rStrip(std::string&
string);
47 void checkString(std::istream& in,
const std::string& expected);
59 bool getLine(std::istream& in, std::stringstream& line);
72 bool getNextLine(std::istream& in, std::string& line);
85 bool getNextLine(std::istream& in, std::stringstream& line);
void checkString(std::istream &in, const std::string &expected)
Extract string from stream, and compare to expected value.
bool getNextLine(std::istream &in, std::string &line)
Read the next non-empty line into a string, strip trailing whitespace.
std::string toString(int n)
Return string representation of an integer.
int rStrip(std::string &str)
Strip trailing whitespace from a string.
bool getLine(std::istream &in, std::stringstream &line)
Read the next line into a stringstream.
Utility classes for scientific computation.
void checkRequiredIstream(std::istream &in)
Check status of a std::istream just before reading required variable.