23 return os <<
"(" <<
r.name <<
"|" <<
r.bit <<
")";
28 std::istringstream iss(line);
29 std::istream_iterator<std::string> it(iss);
31 if (*it != std::string(
"REGION") && *it != std::string(
"MODEL_REGION"))
33 ERR(
"Expected REGION or MODEL_REGION keyword but '{:s}' found.\n",
35 throw std::runtime_error(
36 "In parseRegion() expected REGION or MODEL_REGION keyword not "
44 r.bit = atoi(it->c_str());
void ERR(char const *fmt, Args const &... args)
std::ostream & operator<<(std::ostream &os, CoordinateSystem const &c)
Region parseRegion(std::string const &line)