3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>count(ValueOrIndexable 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="../boost__geometry__index__rtree.html" title="boost::geometry::index::rtree">
9 <link rel="prev" href="bounds__.html" title="bounds()">
10 <link rel="next" href="parameters__.html" title="parameters()">
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>
22 <div class="spirit-nav">
23 <a accesskey="p" href="bounds__.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__geometry__index__rtree.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="parameters__.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h5 class="title">
27 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___"></a><a name="classboost_1_1geometry_1_1index_1_1rtree_1a69dfe7fea7dac9513b79b9918bbf8050"></a><a class="link" href="count_valueorindexable_const___.html" title="count(ValueOrIndexable const &)">count(ValueOrIndexable
29 </h5></div></div></div>
31 <a class="indexterm" name="idm46186979058240"></a>
32 Count Values or Indexables stored in the container.
35 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h0"></a>
36 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.description"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.description">Description</a>
39 For indexable_type it returns the number of values which indexables equals
40 the parameter. For value_type it returns the number of values which equals
44 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h1"></a>
45 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.synopsis"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.synopsis">Synopsis</a>
47 <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">ValueOrIndexable</span></code><code class="computeroutput"><span class="special">></span></code>
48 <code class="literal"><a class="link" href="../boost__geometry__index__rtree.html#classboost_1_1geometry_1_1index_1_1rtree_1acc1f90d7b70afebc58107c523ece5cd5">size_type</a></code> <code class="computeroutput"><span class="identifier">count</span></code><code class="computeroutput"><span class="special">(</span></code><code class="computeroutput"><span class="identifier">ValueOrIndexable</span> <span class="keyword">const</span> <span class="special">&</span></code> <code class="computeroutput"><span class="identifier">vori</span></code><code class="computeroutput"><span class="special">)</span></code>
51 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h2"></a>
52 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.modifier_s_"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.modifier_s_">Modifier(s)</a>
56 <pre class="programlisting"><span class="keyword">const</span></pre>
60 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h3"></a>
61 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.parameter_s_"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.parameter_s_">Parameter(s)</a>
63 <div class="informaltable"><table class="table">
89 <code class="computeroutput"><span class="identifier">ValueOrIndexable</span>
90 <span class="keyword">const</span> <span class="special">&</span></code>
95 <code class="computeroutput"><span class="identifier">vori</span></code>
100 The value or indexable which will be counted.
106 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h4"></a>
107 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.returns"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.returns">Returns</a>
110 The number of values found.
113 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.h5"></a>
114 <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.throws"></a></span><a class="link" href="count_valueorindexable_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.count_valueorindexable_const___.throws">Throws</a>
120 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
121 <td align="left"></td>
122 <td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
123 Wulkiewicz, Oracle and/or its affiliates<p>
124 Distributed under the Boost Software License, Version 1.0. (See accompanying
125 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>)
130 <div class="spirit-nav">
131 <a accesskey="p" href="bounds__.html"><img src="../../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__geometry__index__rtree.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="parameters__.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>