OGS
AsciiRasterInterface.cpp File Reference

Detailed Description

Implementation of the AsciiRasterInterface class.

Author
Karsten Rink
Date
2014-09-10

Definition in file AsciiRasterInterface.cpp.

#include "AsciiRasterInterface.h"
#include <tuple>
#include "BaseLib/FileTools.h"
#include "BaseLib/Logging.h"
#include "BaseLib/StringTools.h"
Include dependency graph for AsciiRasterInterface.cpp:

Go to the source code of this file.

Namespaces

namespace  FileIO
 

Functions

static double FileIO::readDoubleFromStream (std::istream &in)
 Reads a double replacing comma by point. More...
 
static std::optional< GeoLib::RasterHeaderFileIO::readASCHeader (std::ifstream &in)
 
static std::optional< std::tuple< GeoLib::RasterHeader, double, double > > FileIO::readSurferHeader (std::ifstream &in)
 
static bool FileIO::allRastersExist (std::vector< std::string > const &raster_paths)
 Checks if all raster files actually exist. More...
 
std::optional< std::vector< GeoLib::Raster const * > > FileIO::readRasters (std::vector< std::string > const &raster_paths)