Utility for scanning text segments.
Definition: TextReader.h:49
static char skipChars(std::istream &istr, const std::string skipChars)
Read stream until a char not in skipChars or end-of-file is encountered.
Definition: TextReader.cpp:53
static char skipWhiteSpace(std::istream &istr)
Definition: TextReader.h:91
static char scanSegmentToValue(std::istream &istr, const std::string &endChars, T &dst)
Definition: TextReader.h:103
static std::string scanSegment(std::istream &istr, const std::string &endChars)
Read input stream until any char in endChars is encountered. The end char will not be included,...
Definition: TextReader.h:60