Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82416 - in sandbox-branches/geometry/index: boost/geometry/extensions/index/rtree doc/html doc/html/geometry_index/r_tree
From: adam.wulkiewicz_at_[hidden]
Date: 2013-01-09 08:36:20


Author: awulkiew
Date: 2013-01-09 08:36:19 EST (Wed, 09 Jan 2013)
New Revision: 82416
URL: http://svn.boost.org/trac/boost/changeset/82416

Log:
rtree constructors parameters moddified
Text files modified:
   sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp | 17 ++++---
   sandbox-branches/geometry/index/doc/html/geometry_index/r_tree/reference.html | 81 +++++++++++++++++++++++++++++++++++----
   sandbox-branches/geometry/index/doc/html/index.html | 2
   3 files changed, 81 insertions(+), 19 deletions(-)

Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/rtree.hpp 2013-01-09 08:36:19 EST (Wed, 09 Jan 2013)
@@ -126,15 +126,16 @@
 
 public:
     /*!
- \brief The default constructor.
+ \brief The constructor.
 
     \bgi_throws{
- Nothing.
+ If allocator default constructor throws.
     }
     */
- inline explicit rtree()
- : m_translator() // SHOULDN'T THROW
- , m_parameters()
+ inline explicit rtree(parameters_type parameters = parameters_type(),
+ translator_type const& translator = translator_type())
+ : m_translator(translator) // SHOULDN'T THROW
+ , m_parameters(parameters)
         , m_allocators()
         , m_values_count(0)
         , m_leafs_level(0)
@@ -152,9 +153,9 @@
     If allocator copy constructor throws.
     }
     */
- inline explicit rtree(parameters_type parameters = parameters_type(),
- translator_type const& translator = translator_type(),
- allocator_type allocator = allocator_type())
+ inline rtree(parameters_type parameters,
+ translator_type const& translator,
+ allocator_type allocator)
         : m_translator(translator) // SHOULDN'T THROW
         , m_parameters(parameters)
         , m_allocators(allocator)

Modified: sandbox-branches/geometry/index/doc/html/geometry_index/r_tree/reference.html
==============================================================================
--- sandbox-branches/geometry/index/doc/html/geometry_index/r_tree/reference.html (original)
+++ sandbox-branches/geometry/index/doc/html/geometry_index/r_tree/reference.html 2013-01-09 08:36:19 EST (Wed, 09 Jan 2013)
@@ -41,7 +41,7 @@
 <a name="geometry_index.r_tree.reference.boost_geometry_index_rtree"></a><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree" title="boost::geometry::index::rtree">boost::geometry::index::rtree</a>
 </h4></div></div></div>
 <p>
- <a class="indexterm" name="idp9895280"></a><a class="indexterm" name="idp9895592"></a><a class="indexterm" name="idp9895904"></a><a class="indexterm" name="idp9896216"></a>
+ <a class="indexterm" name="idp9900728"></a><a class="indexterm" name="idp9901040"></a><a class="indexterm" name="idp9901352"></a><a class="indexterm" name="idp9901664"></a>
 The R-tree spatial index.
         </p>
 <h6>
@@ -309,14 +309,16 @@
                 </td>
 <td>
                   <p>
- The default constructor.
+ The constructor.
                   </p>
                 </td>
 </tr>
 <tr>
 <td>
                   <p>
- <a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member1" title="rtree()"><code class="computeroutput"><span class="identifier">rtree</span><span class="special">()</span></code></a>
+ <a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member1" title="rtree(parameters_type, translator_type const &amp;, allocator_type)"><code class="computeroutput"><span class="identifier">rtree</span><span class="special">(</span><span class="identifier">parameters_type</span><span class="special">,</span>
+ <span class="identifier">translator_type</span> <span class="keyword">const</span>
+ <span class="special">&amp;,</span> <span class="identifier">allocator_type</span><span class="special">)</span></code></a>
                   </p>
                 </td>
 <td>
@@ -723,7 +725,7 @@
 <a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0"></a><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member0" title="rtree()">rtree()</a>
 </h5></div></div></div>
 <p>
- The default constructor.
+ The constructor.
           </p>
 <h6>
 <a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.h0"></a>
@@ -731,15 +733,73 @@
           </h6>
 <p>
 </p>
-<pre class="programlisting"><span class="identifier">rtree</span><span class="special">()</span></pre>
+<pre class="programlisting"><span class="identifier">rtree</span><span class="special">(</span><span class="identifier">parameters_type</span> <span class="identifier">parameters</span> <span class="special">=</span> <span class="identifier">parameters_type</span><span class="special">(),</span> <span class="identifier">translator_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">translator</span> <span class="special">=</span> <span class="identifier">translator_type</span><span class="special">())</span></pre>
 <p>
           </p>
 <h6>
 <a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.h1"></a>
+ <span><a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.parameters"></a></span><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.parameters">Parameters</a>
+ </h6>
+<div class="informaltable"><table class="table">
+<colgroup>
+<col>
+<col>
+<col>
+</colgroup>
+<thead><tr>
+<th>
+ <p>
+ Type
+ </p>
+ </th>
+<th>
+ <p>
+ Name
+ </p>
+ </th>
+<th>
+ <p>
+ Description
+ </p>
+ </th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">parameters_type</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">parameters</span></code>
+ </p>
+ </td>
+<td>
+ </td>
+</tr>
+<tr>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">translator_type</span> <span class="keyword">const</span> <span class="special">&amp;</span></code>
+ </p>
+ </td>
+<td>
+ <p>
+ <code class="computeroutput"><span class="identifier">translator</span></code>
+ </p>
+ </td>
+<td>
+ </td>
+</tr>
+</tbody>
+</table></div>
+<h6>
+<a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.h2"></a>
             <span><a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.throws"></a></span><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member0.throws">Throws</a>
           </h6>
 <p>
- Nothing.
+ If allocator default constructor throws.
           </p>
 </div>
 <p>
@@ -747,7 +807,8 @@
         </p>
 <div class="section">
 <div class="titlepage"><div><div><h5 class="title">
-<a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member1"></a><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member1" title="rtree()">rtree()</a>
+<a name="geometry_index.r_tree.reference.boost_geometry_index_rtree.member1"></a><a class="link" href="reference.html#geometry_index.r_tree.reference.boost_geometry_index_rtree.member1" title="rtree(parameters_type, translator_type const &amp;, allocator_type)">rtree(parameters_type,
+ translator_type const &amp;, allocator_type)</a>
 </h5></div></div></div>
 <p>
             The constructor.
@@ -758,9 +819,9 @@
           </h6>
 <p>
 </p>
-<pre class="programlisting"><span class="identifier">rtree</span><span class="special">(</span><span class="identifier">parameters_type</span> <span class="identifier">parameters</span> <span class="special">=</span> <span class="identifier">parameters_type</span><span class="special">(),</span>
- <span class="identifier">translator_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">translator</span> <span class="special">=</span> <span class="identifier">translator_type</span><span class="special">(),</span>
- <span class="identifier">allocator_type</span> <span class="identifier">allocator</span> <span class="special">=</span> <span class="identifier">allocator_type</span><span class="special">())</span></pre>
+<pre class="programlisting"><span class="identifier">rtree</span><span class="special">(</span><span class="identifier">parameters_type</span> <span class="identifier">parameters</span><span class="special">,</span>
+ <span class="identifier">translator_type</span> <span class="keyword">const</span> <span class="special">&amp;</span> <span class="identifier">translator</span><span class="special">,</span>
+ <span class="identifier">allocator_type</span> <span class="identifier">allocator</span><span class="special">)</span></pre>
 <p>
           </p>
 <h6>

Modified: sandbox-branches/geometry/index/doc/html/index.html
==============================================================================
--- sandbox-branches/geometry/index/doc/html/index.html (original)
+++ sandbox-branches/geometry/index/doc/html/index.html 2013-01-09 08:36:19 EST (Wed, 09 Jan 2013)
@@ -56,7 +56,7 @@
 </div>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: January 09, 2013 at 12:57:55 GMT</small></p></td>
+<td align="left"><p><small>Last revised: January 09, 2013 at 13:33:08 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk