| 422 | |
| 423 | template <typename T> |
| 424 | void readFileValues(EnSightFile& file, std::vector<T>& values) |
| 425 | { |
| 426 | auto result = file.ReadNextLine(MAX_CASE_LINE_LENGTH); |
| 427 | while (result.first) |
| 428 | { |
| 429 | T val; |
| 430 | while (extractLinePart(GetNumRegEx(), result.second, val)) |
| 431 | { |
| 432 | values.push_back(val); |
| 433 | } |
| 434 | result = file.ReadNextLine(MAX_CASE_LINE_LENGTH); |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | template <typename T> |
| 439 | void readFileValues(const std::string& filename, std::vector<T>& values) |
no test coverage detected