67 lines
1.8 KiB
Plaintext
67 lines
1.8 KiB
Plaintext
[/============================================================================
|
|
Boost.Geometry (aka GGL, Generic Geometry Library)
|
|
|
|
Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
|
|
Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
|
|
Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
|
|
|
|
Use, modification and distribution is subject to the Boost Software License,
|
|
Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
=============================================================================/]
|
|
|
|
|
|
[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
|
|
[/ Generated from doxy/doxygen_output/xml/structboost_1_1geometry_1_1closing__iterator.xml]
|
|
[section:closing_iterator closing_iterator]
|
|
|
|
'''<indexterm><primary>closing_iterator</primary></indexterm>'''
|
|
Iterator which iterates through a range, but adds first element at end of the range.
|
|
|
|
[heading Synopsis]
|
|
``template<typename Range>
|
|
struct closing_iterator
|
|
: 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 >
|
|
{
|
|
// ...
|
|
};
|
|
``
|
|
|
|
[heading Template parameter(s)]
|
|
[table
|
|
[[Parameter] [Description]]
|
|
[[typename Range] [range on which this class is based on]]
|
|
]
|
|
|
|
[heading Constructor(s)]
|
|
[table
|
|
[[Function] [Description] [Parameters] ]
|
|
[[``closing_iterator(Range & range)``
|
|
|
|
] [Constructor including the range it is based on. ] [[* Range &]: ['range]:
|
|
|
|
|
|
|
|
]]
|
|
[[``closing_iterator(Range & range, bool )``
|
|
|
|
] [Constructor to indicate the end of a range. ] [[* Range &]: ['range]:
|
|
|
|
[* bool]: [']:
|
|
|
|
|
|
|
|
]]
|
|
[[``closing_iterator()``
|
|
|
|
] [Default constructor. ] [
|
|
|
|
]]
|
|
]
|
|
|
|
[heading Header]
|
|
`#include <boost/geometry/iterators/closing_iterator.hpp>`
|
|
|
|
[endsect]
|
|
|