/********************************************************************** * * GEOS - Geometry Engine Open Source * http://geos.osgeo.org * * Copyright (C) 2020 Martin Davis * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesser General Public Licence as published * by the Free Software Foundation. * See the COPYING file for more information. * **********************************************************************/ #pragma once #include #include #include // Forward declarations namespace geos { namespace geom { class Geometry; class PrecisionModel; } } namespace geos { namespace io { class GEOS_DLL WKTFileReader { public: WKTFileReader(); ~WKTFileReader(); std::vector> read(std::string fname); private: std::unique_ptr readGeom(std::ifstream& f, geos::io::WKTReader& rdr); }; } }