annotate DEPENDENCIES/generic/include/boost/geometry/io/wkt/stream.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 // Boost.Geometry (aka GGL, Generic Geometry Library)
Chris@16 2
Chris@16 3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
Chris@16 4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
Chris@16 5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
Chris@16 6
Chris@16 7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
Chris@16 8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
Chris@16 9
Chris@16 10 // Use, modification and distribution is subject to the Boost Software License,
Chris@16 11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 12 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 13
Chris@16 14 #ifndef BOOST_GEOMETRY_IO_WKT_STREAM_HPP
Chris@16 15 #define BOOST_GEOMETRY_IO_WKT_STREAM_HPP
Chris@16 16
Chris@16 17 #include <boost/geometry/io/wkt/write.hpp>
Chris@16 18
Chris@16 19 // This short file contains only one manipulator, streaming as WKT
Chris@16 20 // Don't include this in any standard-included header file.
Chris@16 21
Chris@16 22 // Don't use namespace boost::geometry, to enable the library to stream custom
Chris@16 23 // geometries which are living outside the namespace boost::geometry
Chris@16 24
Chris@101 25 // This is currently not documented on purpose: the Doxygen 2 QBK generator
Chris@101 26 // should be updated w.r.t. << which in the end ruins the DocBook XML
Chris@16 27 template<typename Char, typename Traits, typename Geometry>
Chris@16 28 inline std::basic_ostream<Char, Traits>& operator<<
Chris@16 29 (
Chris@16 30 std::basic_ostream<Char, Traits> &os,
Chris@16 31 Geometry const& geom
Chris@16 32 )
Chris@16 33 {
Chris@16 34 os << boost::geometry::wkt(geom);
Chris@16 35 return os;
Chris@16 36 }
Chris@16 37
Chris@16 38 #endif // BOOST_GEOMETRY_IO_WKT_STREAM_HPP