Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80942 - in trunk/libs/geometry/doc: generated src/docutils/tools/support_status
From: bruno.lalande_at_[hidden]
Date: 2012-10-10 16:22:42


Author: bruno.lalande
Date: 2012-10-10 16:22:41 EDT (Wed, 10 Oct 2012)
New Revision: 80942
URL: http://svn.boost.org/trac/boost/changeset/80942

Log:
Integrated for_each into support_status.
Added:
   trunk/libs/geometry/doc/generated/for_each_point_status.qbk (contents, props changed)
   trunk/libs/geometry/doc/generated/for_each_segment_status.qbk (contents, props changed)
Text files modified:
   trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Added: trunk/libs/geometry/doc/generated/for_each_point_status.qbk
==============================================================================
--- (empty file)
+++ trunk/libs/geometry/doc/generated/for_each_point_status.qbk 2012-10-10 16:22:41 EDT (Wed, 10 Oct 2012)
@@ -0,0 +1,13 @@
+[heading Supported geometries]
+[table
+[[Geometry][Status]]
+[[Point][ [$img/ok.png] ]]
+[[Segment][ [$img/nyi.png] ]]
+[[Box][ [$img/nyi.png] ]]
+[[Linestring][ [$img/ok.png] ]]
+[[Ring][ [$img/ok.png] ]]
+[[Polygon][ [$img/ok.png] ]]
+[[MultiPoint][ [$img/ok.png] ]]
+[[MultiLinestring][ [$img/ok.png] ]]
+[[MultiPolygon][ [$img/ok.png] ]]
+]

Added: trunk/libs/geometry/doc/generated/for_each_segment_status.qbk
==============================================================================
--- (empty file)
+++ trunk/libs/geometry/doc/generated/for_each_segment_status.qbk 2012-10-10 16:22:41 EDT (Wed, 10 Oct 2012)
@@ -0,0 +1,13 @@
+[heading Supported geometries]
+[table
+[[Geometry][Status]]
+[[Point][ [$img/ok.png] ]]
+[[Segment][ [$img/nyi.png] ]]
+[[Box][ [$img/nyi.png] ]]
+[[Linestring][ [$img/ok.png] ]]
+[[Ring][ [$img/ok.png] ]]
+[[Polygon][ [$img/ok.png] ]]
+[[MultiPoint][ [$img/ok.png] ]]
+[[MultiLinestring][ [$img/ok.png] ]]
+[[MultiPolygon][ [$img/ok.png] ]]
+]

Modified: trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp
==============================================================================
--- trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp (original)
+++ trunk/libs/geometry/doc/src/docutils/tools/support_status/support_status.cpp 2012-10-10 16:22:41 EDT (Wed, 10 Oct 2012)
@@ -34,6 +34,7 @@
 #include <boost/geometry/algorithms/envelope.hpp>
 #include <boost/geometry/algorithms/equals.hpp>
 #include <boost/geometry/algorithms/expand.hpp>
+#include <boost/geometry/algorithms/for_each.hpp>
 #include <boost/geometry/algorithms/length.hpp>
 #include <boost/geometry/algorithms/overlaps.hpp>
 #include <boost/geometry/algorithms/perimeter.hpp>
@@ -50,6 +51,7 @@
 #include <boost/geometry/multi/algorithms/distance.hpp>
 #include <boost/geometry/multi/algorithms/envelope.hpp>
 #include <boost/geometry/multi/algorithms/equals.hpp>
+#include <boost/geometry/multi/algorithms/for_each.hpp>
 #include <boost/geometry/multi/algorithms/length.hpp>
 #include <boost/geometry/multi/algorithms/perimeter.hpp>
 #include <boost/geometry/multi/algorithms/simplify.hpp>
@@ -109,6 +111,8 @@
 DECLARE_UNARY_ALGORITHM(envelope)
 DECLARE_BINARY_ALGORITHM(equals)
 DECLARE_BINARY_ALGORITHM(expand)
+DECLARE_UNARY_ALGORITHM(for_each_point)
+DECLARE_UNARY_ALGORITHM(for_each_segment)
 DECLARE_UNARY_ALGORITHM(length)
 DECLARE_BINARY_ALGORITHM(overlaps)
 DECLARE_UNARY_ALGORITHM(perimeter)
@@ -238,6 +242,8 @@
     test_unary_algorithm<envelope, all_types, OutputFactory>("envelope");
     test_binary_algorithm<equals, all_types, all_types, OutputFactory>("equals");
     test_binary_algorithm<expand, all_types, all_types, OutputFactory>("expand");
+ test_unary_algorithm<for_each_point, all_types, OutputFactory>("for_each_point");
+ test_unary_algorithm<for_each_segment, all_types, OutputFactory>("for_each_segment");
     test_unary_algorithm<length, all_types, OutputFactory>("length");
     test_binary_algorithm<overlaps, all_types, all_types, OutputFactory>("overlaps");
     test_unary_algorithm<perimeter, all_types, OutputFactory>("perimeter");


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk