Imported Upstream version 1.64.0
[platform/upstream/boost.git] / libs / geometry / doc / html / geometry / reference / spatial_indexes / boost__geometry__index__rtree / insert_iterator__iterator_.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>insert(Iterator, Iterator)</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="insert_value_type_const___.html" title="insert(value_type const &amp;)">
10 <link rel="next" href="insert_convertibleorrange_const___.html" title="insert(ConvertibleOrRange const &amp;)">
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="insert_value_type_const___.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="insert_convertibleorrange_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.boost__geometry__index__rtree.insert_iterator__iterator_"></a><a name="classboost_1_1geometry_1_1index_1_1rtree_1a60d4c8790fd8810ff8b57f049e6bed8d"></a><a class="link" href="insert_iterator__iterator_.html" title="insert(Iterator, Iterator)">insert(Iterator,
28           Iterator)</a>
29 </h5></div></div></div>
30 <p>
31             <a class="indexterm" name="idp115776336"></a>
32 Insert a range of values to the index.
33           </p>
34 <h6>
35 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.h0"></a>
36             <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.synopsis"></a></span><a class="link" href="insert_iterator__iterator_.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.synopsis">Synopsis</a>
37           </h6>
38 <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">Iterator</span></code><code class="computeroutput"><span class="special">&gt;</span></code>
39 <code class="computeroutput"><span class="keyword">void</span></code> <code class="computeroutput"><span class="identifier">insert</span></code><code class="computeroutput"><span class="special">(</span></code><code class="computeroutput"><span class="identifier">Iterator</span></code> <code class="computeroutput"><span class="identifier">first</span></code><code class="computeroutput"><span class="special">,</span></code> <code class="computeroutput"><span class="identifier">Iterator</span></code> <code class="computeroutput"><span class="identifier">last</span></code><code class="computeroutput"><span class="special">)</span></code>
40 </pre>
41 <h6>
42 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.h1"></a>
43             <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.parameter_s_"></a></span><a class="link" href="insert_iterator__iterator_.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.parameter_s_">Parameter(s)</a>
44           </h6>
45 <div class="informaltable"><table class="table">
46 <colgroup>
47 <col>
48 <col>
49 <col>
50 </colgroup>
51 <thead><tr>
52 <th>
53                     <p>
54                       Type
55                     </p>
56                   </th>
57 <th>
58                     <p>
59                       Name
60                     </p>
61                   </th>
62 <th>
63                     <p>
64                       Description
65                     </p>
66                   </th>
67 </tr></thead>
68 <tbody>
69 <tr>
70 <td>
71                     <p>
72                       <code class="computeroutput"><span class="identifier">Iterator</span></code>
73                     </p>
74                   </td>
75 <td>
76                     <p>
77                       <code class="computeroutput"><span class="identifier">first</span></code>
78                     </p>
79                   </td>
80 <td>
81                     <p>
82                       The beginning of the range of values.
83                     </p>
84                   </td>
85 </tr>
86 <tr>
87 <td>
88                     <p>
89                       <code class="computeroutput"><span class="identifier">Iterator</span></code>
90                     </p>
91                   </td>
92 <td>
93                     <p>
94                       <code class="computeroutput"><span class="identifier">last</span></code>
95                     </p>
96                   </td>
97 <td>
98                     <p>
99                       The end of the range of values.
100                     </p>
101                   </td>
102 </tr>
103 </tbody>
104 </table></div>
105 <h6>
106 <a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.h2"></a>
107             <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.throws"></a></span><a class="link" href="insert_iterator__iterator_.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.insert_iterator__iterator_.throws">Throws</a>
108           </h6>
109 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
110 <li class="listitem">
111                 If Value copy constructor or copy assignment throws.
112               </li>
113 <li class="listitem">
114                 If allocation throws or returns invalid value.
115               </li>
116 </ul></div>
117 <div class="warning"><table border="0" summary="Warning">
118 <tr>
119 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="../../../../../../../../doc/src/images/warning.png"></td>
120 <th align="left">Warning</th>
121 </tr>
122 <tr><td align="left" valign="top"><p>
123               This operation only guarantees that there will be no memory leaks.
124               After an exception is thrown the R-tree may be left in an inconsistent
125               state, elements must not be inserted or removed. Other operations are
126               allowed however some of them may return invalid data.
127             </p></td></tr>
128 </table></div>
129 </div>
130 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
131 <td align="left"></td>
132 <td align="right"><div class="copyright-footer">Copyright &#169; 2009-2017 Barend
133       Gehrels, Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its
134       affiliates<p>
135         Distributed under the Boost Software License, Version 1.0. (See accompanying
136         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>)
137       </p>
138 </div></td>
139 </tr></table>
140 <hr>
141 <div class="spirit-nav">
142 <a accesskey="p" href="insert_value_type_const___.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="insert_convertibleorrange_const___.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
143 </div>
144 </body>
145 </html>