Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / geometry / doc / html / geometry / reference / spatial_indexes / boost__geometry__index__rtree / count_valueorindexable_const___.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>count(ValueOrIndexable const &amp;)</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&#160;1.&#160;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()">
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="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>
24 </div>
25 <div class="section">
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 &amp;)">count(ValueOrIndexable
28           const &amp;)</a>
29 </h5></div></div></div>
30 <p>
31             <a class="indexterm" name="idm46186979058240"></a>
32 Count Values or Indexables stored in the container.
33           </p>
34 <h6>
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>
37           </h6>
38 <p>
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
41             the parameter.
42           </p>
43 <h6>
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>
46           </h6>
47 <pre class="programlisting"><code class="computeroutput"><span class="keyword">template</span><span class="special">&lt;</span></code><code class="computeroutput"><span class="keyword">typename</span> <span class="identifier">ValueOrIndexable</span></code><code class="computeroutput"><span class="special">&gt;</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">&amp;</span></code> <code class="computeroutput"><span class="identifier">vori</span></code><code class="computeroutput"><span class="special">)</span></code>
49 </pre>
50 <h6>
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>
53           </h6>
54 <p>
55 </p>
56 <pre class="programlisting"><span class="keyword">const</span></pre>
57 <p>
58           </p>
59 <h6>
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>
62           </h6>
63 <div class="informaltable"><table class="table">
64 <colgroup>
65 <col>
66 <col>
67 <col>
68 </colgroup>
69 <thead><tr>
70 <th>
71                     <p>
72                       Type
73                     </p>
74                   </th>
75 <th>
76                     <p>
77                       Name
78                     </p>
79                   </th>
80 <th>
81                     <p>
82                       Description
83                     </p>
84                   </th>
85 </tr></thead>
86 <tbody><tr>
87 <td>
88                     <p>
89                       <code class="computeroutput"><span class="identifier">ValueOrIndexable</span>
90                       <span class="keyword">const</span> <span class="special">&amp;</span></code>
91                     </p>
92                   </td>
93 <td>
94                     <p>
95                       <code class="computeroutput"><span class="identifier">vori</span></code>
96                     </p>
97                   </td>
98 <td>
99                     <p>
100                       The value or indexable which will be counted.
101                     </p>
102                   </td>
103 </tr></tbody>
104 </table></div>
105 <h6>
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>
108           </h6>
109 <p>
110             The number of values found.
111           </p>
112 <h6>
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>
115           </h6>
116 <p>
117             Nothing.
118           </p>
119 </div>
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 &#169; 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>)
126       </p>
127 </div></td>
128 </tr></table>
129 <hr>
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>
132 </div>
133 </body>
134 </html>