Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68930 - trunk/boost/geometry/algorithms
From: barend.gehrels_at_[hidden]
Date: 2011-02-15 16:14:44


Author: barendgehrels
Date: 2011-02-15 16:14:41 EST (Tue, 15 Feb 2011)
New Revision: 68930
URL: http://svn.boost.org/trac/boost/changeset/68930

Log:
for_each_segment doc update
Text files modified:
   trunk/boost/geometry/algorithms/for_each.hpp | 60 ++++++++++++++++++++++++++--------------
   1 files changed, 39 insertions(+), 21 deletions(-)

Modified: trunk/boost/geometry/algorithms/for_each.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/for_each.hpp (original)
+++ trunk/boost/geometry/algorithms/for_each.hpp 2011-02-15 16:14:41 EST (Tue, 15 Feb 2011)
@@ -234,11 +234,17 @@
 
 
 /*!
- \brief Calls functor for geometry
- \ingroup for_each
- \param geometry geometry to loop through
- \param f functor to use
- \details Calls the functor the specified \b const geometry
+\brief \brf_for_each{point}
+\details \det_for_each{point}
+\ingroup for_each
+\param geometry \param_geometry
+\param f \par_for_each_f{const point}
+\tparam Geometry \tparam_geometry
+\tparam Functor \tparam_functor
+
+\qbk{distinguish,const version}
+\qbk{[heading Example]}
+\qbk{[for_each_point_const] [for_each_point_const_output]}
 */
 template<typename Geometry, typename Functor>
 inline Functor for_each_point(Geometry const& geometry, Functor f)
@@ -256,11 +262,16 @@
 
 
 /*!
- \brief Calls functor for geometry
- \ingroup for_each
- \param geometry geometry to loop through
- \param f functor to use
- \details Calls the functor for the specified geometry
+\brief \brf_for_each{point}
+\details \det_for_each{point}
+\ingroup for_each
+\param geometry \param_geometry
+\param f \par_for_each_f{point}
+\tparam Geometry \tparam_geometry
+\tparam Functor \tparam_functor
+
+\qbk{[heading Example]}
+\qbk{[for_each_point] [for_each_point_output]}
 */
 template<typename Geometry, typename Functor>
 inline Functor for_each_point(Geometry& geometry, Functor f)
@@ -278,12 +289,17 @@
 
 
 /*!
- \brief Calls functor for segments on linestrings, rings, polygons, ...
- \ingroup for_each
- \param geometry geometry to loop through
- \param f functor to use
- \details Calls the functor all \b const segments of the
- specified \b const geometry
+\brief \brf_for_each{segment}
+\details \det_for_each{segment}
+\ingroup for_each
+\param geometry \param_geometry
+\param f \par_for_each_f{const segment}
+\tparam Geometry \tparam_geometry
+\tparam Functor \tparam_functor
+
+\qbk{distinguish,const version}
+\qbk{[heading Example]}
+\qbk{[for_each_segment_const] [for_each_segment_const_output]}
 */
 template<typename Geometry, typename Functor>
 inline Functor for_each_segment(Geometry const& geometry, Functor f)
@@ -301,11 +317,13 @@
 
 
 /*!
- \brief Calls functor for segments on linestrings, rings, polygons, ...
- \ingroup for_each
- \param geometry geometry to loop through
- \param f functor to use
- \details Calls the functor all segments of the specified geometry
+\brief \brf_for_each{segment}
+\details \det_for_each{segment}
+\ingroup for_each
+\param geometry \param_geometry
+\param f \par_for_each_f{segment}
+\tparam Geometry \tparam_geometry
+\tparam Functor \tparam_functor
 */
 template<typename Geometry, typename Functor>
 inline Functor for_each_segment(Geometry& geometry, Functor f)


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