parse a "block" line to determine relevant options
| 371 | |
| 372 | // parse a "block" line to determine relevant options |
| 373 | GridOptions getGridOptions(std::string line) |
| 374 | { |
| 375 | GridOptions opts; |
| 376 | |
| 377 | std::regex optRegEx(R"((?:^|\s)([[:alpha:]_]+)(?=$|\s))"); |
| 378 | std::string part; |
| 379 | while (extractLinePart(optRegEx, line, part)) |
| 380 | { |
| 381 | evaluateOption(part, opts); |
| 382 | } |
| 383 | |
| 384 | return opts; |
| 385 | } |
| 386 | |
| 387 | template <typename T> |
| 388 | void readCaseFileValues(EnSightFile& file, std::string& line, std::vector<T>& values) |
no test coverage detected