Skip to content
Snippets Groups Projects
Commit 2b9a526e authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[IO] Remove allRastersExists() from interface.

parent 060567f8
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,9 @@ void AsciiRasterInterface::writeRasterAsASC(GeoLib::Raster const& raster, std::s
out.close();
}
bool allRastersExist(std::vector<std::string> const& raster_paths)
/// Checks if all raster files actually exist
static bool allRastersExist(std::vector<std::string> const& raster_paths)
{
for (auto raster = raster_paths.begin(); raster != raster_paths.end();
++raster)
......
......@@ -56,10 +56,6 @@ private:
/// otherwise the returned vector contains pointers to the read rasters.
boost::optional<std::vector<GeoLib::Raster const*>> readRasters(
std::vector<std::string> const& raster_paths);
/// Checks if all raster files actually exist
bool allRastersExist(std::vector<std::string> const& raster_paths);
}
#endif /* ASCIIRASTERINTERFACE_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment