File wkt.h
Go to the documentation of this file
// Copyright (c) 2012-2013, IGN France.
// Copyright (c) 2012-2022, Oslandia.
// SPDX-License-Identifier: LGPL-2.0-or-later
#ifndef SFCGAL_IO_WKT_H_
#define SFCGAL_IO_WKT_H_
#include "SFCGAL/config.h"
#include <memory>
#include <sstream>
#include <string>
namespace SFCGAL {
class Geometry;
}
namespace SFCGAL {
namespace io {
SFCGAL_API auto
readWkt(std::istream &s) -> std::unique_ptr<Geometry>;
SFCGAL_API auto
readWkt(const std::string &s) -> std::unique_ptr<Geometry>;
SFCGAL_API auto
readWkt(const char *, size_t) -> std::unique_ptr<Geometry>;
} // namespace io
} // namespace SFCGAL
#endif