1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>qend(rtree<...> const &)</title> 5<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="../../../../index.html" title="Chapter 1. Geometry"> 8<link rel="up" href="../group__rtree__functions.html" title="R-tree free functions (boost::geometry::index::)"> 9<link rel="prev" href="qbegin_rtree______const____predicates_const___.html" title="qbegin(rtree<...> const &, Predicates const &)"> 10<link rel="next" href="begin_rtree______const___.html" title="begin(rtree<...> const &)"> 11</head> 12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 13<table cellpadding="2" width="100%"><tr> 14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../../boost.png"></td> 15<td align="center"><a href="../../../../../../../../index.html">Home</a></td> 16<td align="center"><a href="../../../../../../../../libs/libraries.htm">Libraries</a></td> 17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 19<td align="center"><a href="../../../../../../../../more/index.htm">More</a></td> 20</tr></table> 21<hr> 22<div class="spirit-nav"> 23<a accesskey="p" href="qbegin_rtree______const____predicates_const___.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../group__rtree__functions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="begin_rtree______const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 24</div> 25<div class="section"> 26<div class="titlepage"><div><div><h5 class="title"> 27<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___"></a><a name="group__rtree__functions_1ga5c9a1eb0421bf2c702392247d48143e5"></a><a class="link" href="qend_rtree______const___.html" title="qend(rtree<...> const &)">qend(rtree<...> 28 const &)</a> 29</h5></div></div></div> 30<p> 31 <a class="indexterm" name="idm45635674135392"></a> 32Returns the query iterator pointing at the end of the query range. 33 </p> 34<h6> 35<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h0"></a> 36 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.description"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.description">Description</a> 37 </h6> 38<p> 39 This method returns the iterator which may be used to check if the query 40 has ended. 41 </p> 42<h6> 43<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h1"></a> 44 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.synopsis"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.synopsis">Synopsis</a> 45 </h6> 46<pre class="programlisting"><code class="computeroutput"><span class="keyword">template</span><span class="special"><</span></code><code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Value</span></code><code class="computeroutput"><span class="special">,</span></code> 47 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Parameters</span></code><code class="computeroutput"><span class="special">,</span></code> 48 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">IndexableGetter</span></code><code class="computeroutput"><span class="special">,</span></code> 49 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">EqualTo</span></code><code class="computeroutput"><span class="special">,</span></code> 50 <code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">Allocator</span></code><code class="computeroutput"><span class="special">></span></code> 51<code class="computeroutput"><span class="identifier">rtree</span><span class="special"><</span> <span class="identifier">Value</span><span class="special">,</span> <span class="identifier">Parameters</span><span class="special">,</span> <span class="identifier">IndexableGetter</span><span class="special">,</span> <span class="identifier">EqualTo</span><span class="special">,</span> <span class="identifier">Allocator</span> <span class="special">>::</span><span class="identifier">const_query_iterator</span></code> <code class="computeroutput"><span class="identifier">qend</span></code><code class="computeroutput"><span class="special">(</span></code><code class="computeroutput"><span class="identifier">rtree</span><span class="special"><</span> <span class="identifier">Value</span><span class="special">,</span> <span class="identifier">Parameters</span><span class="special">,</span> <span class="identifier">IndexableGetter</span><span class="special">,</span> <span class="identifier">EqualTo</span><span class="special">,</span> <span class="identifier">Allocator</span> <span class="special">></span> <span class="keyword">const</span> <span class="special">&</span></code> <code class="computeroutput"><span class="identifier">tree</span></code><code class="computeroutput"><span class="special">)</span></code> 52</pre> 53<h6> 54<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h2"></a> 55 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.returns"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.returns">Returns</a> 56 </h6> 57<p> 58 The iterator pointing at the end of the query range. 59 </p> 60<h6> 61<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h3"></a> 62 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.example"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.example">Example</a> 63 </h6> 64<p> 65</p> 66<pre class="programlisting"><span class="identifier">std</span><span class="special">::</span><span class="identifier">for_each</span><span class="special">(</span><span class="identifier">bgi</span><span class="special">::</span><span class="identifier">qbegin</span><span class="special">(</span><span class="identifier">tree</span><span class="special">,</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">nearest</span><span class="special">(</span><span class="identifier">pt</span><span class="special">,</span> <span class="number">3</span><span class="special">)),</span> <span class="identifier">bgi</span><span class="special">::</span><span class="identifier">qend</span><span class="special">(</span><span class="identifier">tree</span><span class="special">),</span> <span class="identifier">do_something</span><span class="special">());</span> 67</pre> 68<p> 69 </p> 70<h6> 71<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h4"></a> 72 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.iterator_category"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.iterator_category">Iterator 73 category</a> 74 </h6> 75<p> 76 ForwardIterator 77 </p> 78<h6> 79<a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.h5"></a> 80 <span class="phrase"><a name="geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.throws"></a></span><a class="link" href="qend_rtree______const___.html#geometry.reference.spatial_indexes.group__rtree__functions.qend_rtree______const___.throws">Throws</a> 81 </h6> 82<p> 83 Nothing 84 </p> 85<div class="warning"><table border="0" summary="Warning"> 86<tr> 87<td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../../../../../doc/src/images/warning.png"></td> 88<th align="left">Warning</th> 89</tr> 90<tr><td align="left" valign="top"><p> 91 The modification of the rtree may invalidate the iterators. 92 </p></td></tr> 93</table></div> 94</div> 95<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 96<td align="left"></td> 97<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam 98 Wulkiewicz, Oracle and/or its affiliates<p> 99 Distributed under the Boost Software License, Version 1.0. (See accompanying 100 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) 101 </p> 102</div></td> 103</tr></table> 104<hr> 105<div class="spirit-nav"> 106<a accesskey="p" href="qbegin_rtree______const____predicates_const___.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../group__rtree__functions.html"><img src="../../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="begin_rtree______const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a> 107</div> 108</body> 109</html> 110