closing_iterator.qbk 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. [/============================================================================
  2. Boost.Geometry (aka GGL, Generic Geometry Library)
  3. Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
  4. Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
  5. Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
  6. Use, modification and distribution is subject to the Boost Software License,
  7. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  8. http://www.boost.org/LICENSE_1_0.txt)
  9. =============================================================================/]
  10. [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
  11. [/ Generated from doxy/doxygen_output/xml/structboost_1_1geometry_1_1closing__iterator.xml]
  12. [section:closing_iterator closing_iterator]
  13. '''<indexterm><primary>closing_iterator</primary></indexterm>'''
  14. Iterator which iterates through a range, but adds first element at end of the range.
  15. [heading Synopsis]
  16. ``template<typename Range>
  17. struct closing_iterator
  18. : public boost::iterator_facade< closing_iterator< Range >, boost::range_value< Range >::type const, boost::random_access_traversal_tag, boost::range_reference< Range const >::type, boost::range_difference< Range >::type >
  19. {
  20. // ...
  21. };
  22. ``
  23. [heading Template parameter(s)]
  24. [table
  25. [[Parameter] [Description]]
  26. [[typename Range] [range on which this class is based on]]
  27. ]
  28. [heading Constructor(s)]
  29. [table
  30. [[Function] [Description] [Parameters] ]
  31. [[``closing_iterator(Range & range)``
  32. ] [Constructor including the range it is based on. ] [[* Range &]: ['range]:
  33. ]]
  34. [[``closing_iterator(Range & range, bool )``
  35. ] [Constructor to indicate the end of a range. ] [[* Range &]: ['range]:
  36. [* bool]: [']:
  37. ]]
  38. [[``closing_iterator()``
  39. ] [Default constructor. ] [
  40. ]]
  41. ]
  42. [heading Header]
  43. `#include <boost/geometry/iterators/closing_iterator.hpp>`
  44. [endsect]