|
||||
File indexing completed on 2025-01-18 09:35:35
0001 // Boost.Geometry (aka GGL, Generic Geometry Library) 0002 0003 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. 0004 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. 0005 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. 0006 0007 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library 0008 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. 0009 0010 // Use, modification and distribution is subject to the Boost Software License, 0011 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 0012 // http://www.boost.org/LICENSE_1_0.txt) 0013 0014 #ifndef BOOST_GEOMETRY_IO_WKT_STREAM_HPP 0015 #define BOOST_GEOMETRY_IO_WKT_STREAM_HPP 0016 0017 #include <boost/geometry/io/wkt/write.hpp> 0018 0019 // This short file contains only one manipulator, streaming as WKT 0020 // Don't include this in any standard-included header file. 0021 0022 // Don't use namespace boost::geometry, to enable the library to stream custom 0023 // geometries which are living outside the namespace boost::geometry 0024 0025 // This is currently not documented on purpose: the Doxygen 2 QBK generator 0026 // should be updated w.r.t. << which in the end ruins the DocBook XML 0027 template<typename Char, typename Traits, typename Geometry> 0028 inline std::basic_ostream<Char, Traits>& operator<< 0029 ( 0030 std::basic_ostream<Char, Traits> &os, 0031 Geometry const& geom 0032 ) 0033 { 0034 os << boost::geometry::wkt(geom); 0035 return os; 0036 } 0037 0038 #endif // BOOST_GEOMETRY_IO_WKT_STREAM_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |