• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>operator=(rtree 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 1. Geometry">
8<link rel="up" href="../boost__geometry__index__rtree.html" title="boost::geometry::index::rtree">
9<link rel="prev" href="rtree_rtree_____allocator_type_const___.html" title="rtree(rtree &amp;&amp;, allocator_type const &amp;)">
10<link rel="next" href="operator__rtree____.html" title="operator=(rtree &amp;&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="rtree_rtree_____allocator_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="operator__rtree____.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.operator__rtree_const___"></a><a name="classboost_1_1geometry_1_1index_1_1rtree_1ad0db5e9e41e1553f944b7e740dbbb883"></a><a class="link" href="operator__rtree_const___.html" title="operator=(rtree const &amp;)">operator=(rtree
28          const &amp;)</a>
29</h5></div></div></div>
30<p>
31            <a class="indexterm" name="idm45635676364256"></a>
32The assignment operator.
33          </p>
34<h6>
35<a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.h0"></a>
36            <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.description"></a></span><a class="link" href="operator__rtree_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.description">Description</a>
37          </h6>
38<p>
39            It uses parameters and translator from the source tree.
40          </p>
41<h6>
42<a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.h1"></a>
43            <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.synopsis"></a></span><a class="link" href="operator__rtree_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.synopsis">Synopsis</a>
44          </h6>
45<pre class="programlisting"><code class="literal"><a class="link" href="../boost__geometry__index__rtree.html#classboost_1_1geometry_1_1index_1_1rtree">rtree</a></code><code class="computeroutput"> <span class="special">&amp;</span></code> <code class="computeroutput"><span class="keyword">operator</span><span class="special">=</span></code><code class="computeroutput"><span class="special">(</span></code><code class="literal"><a class="link" href="../boost__geometry__index__rtree.html#classboost_1_1geometry_1_1index_1_1rtree">rtree</a></code><code class="computeroutput"> <span class="keyword">const</span> <span class="special">&amp;</span></code> <code class="computeroutput"><span class="identifier">src</span></code><code class="computeroutput"><span class="special">)</span></code>
46</pre>
47<h6>
48<a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.h2"></a>
49            <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.parameter_s_"></a></span><a class="link" href="operator__rtree_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.parameter_s_">Parameter(s)</a>
50          </h6>
51<div class="informaltable"><table class="table">
52<colgroup>
53<col>
54<col>
55<col>
56</colgroup>
57<thead><tr>
58<th>
59                    <p>
60                      Type
61                    </p>
62                  </th>
63<th>
64                    <p>
65                      Name
66                    </p>
67                  </th>
68<th>
69                    <p>
70                      Description
71                    </p>
72                  </th>
73</tr></thead>
74<tbody><tr>
75<td>
76                    <p>
77                      <code class="literal"><a class="link" href="../boost__geometry__index__rtree.html#classboost_1_1geometry_1_1index_1_1rtree">rtree</a></code><code class="computeroutput">
78                      <span class="keyword">const</span> <span class="special">&amp;</span></code>
79                    </p>
80                  </td>
81<td>
82                    <p>
83                      <code class="computeroutput"><span class="identifier">src</span></code>
84                    </p>
85                  </td>
86<td>
87                    <p>
88                      The rtree which content will be copied.
89                    </p>
90                  </td>
91</tr></tbody>
92</table></div>
93<h6>
94<a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.h3"></a>
95            <span class="phrase"><a name="geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.throws"></a></span><a class="link" href="operator__rtree_const___.html#geometry.reference.spatial_indexes.boost__geometry__index__rtree.operator__rtree_const___.throws">Throws</a>
96          </h6>
97<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
98<li class="listitem">
99                If Value copy constructor throws.
100              </li>
101<li class="listitem">
102                If allocation throws.
103              </li>
104<li class="listitem">
105                If allocation throws or returns invalid value.
106              </li>
107</ul></div>
108</div>
109<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
110<td align="left"></td>
111<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
112      Wulkiewicz, Oracle and/or its affiliates<p>
113        Distributed under the Boost Software License, Version 1.0. (See accompanying
114        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>)
115      </p>
116</div></td>
117</tr></table>
118<hr>
119<div class="spirit-nav">
120<a accesskey="p" href="rtree_rtree_____allocator_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="operator__rtree____.html"><img src="../../../../../../../../doc/src/images/next.png" alt="Next"></a>
121</div>
122</body>
123</html>
124