| 300 | } |
| 301 | |
| 302 | StringList readFileList(const std::string& filename) |
| 303 | { |
| 304 | std::istream* in = Utils::openFile(filename); |
| 305 | if (!in) |
| 306 | throw pdal_error("Unable to open filelist '" + filename + "'"); |
| 307 | std::string line; |
| 308 | StringList output; |
| 309 | while (std::getline(*in, line)) |
| 310 | { |
| 311 | Utils::trim(line); |
| 312 | if (!line.empty()) |
| 313 | output.push_back(line); |
| 314 | } |
| 315 | FileUtils::closeFile(in); |
| 316 | return output; |
| 317 | } |
| 318 | |
| 319 | |
| 320 | bool TIndexKernel::isFileIndexed(const FieldIndexes& indexes, |
no test coverage detected