Commit Graph

245 Commits

Author SHA1 Message Date
Adam Wulkiewicz
31d95f9ac4 Added number of removed elements returned by rtree::remove().
[SVN r82353]
2013-01-04 17:38:18 +00:00
Adam Wulkiewicz
379166e1f7 Updated info about the R-tree exception safety.
[SVN r82281]
2012-12-30 01:43:36 +00:00
Adam Wulkiewicz
c8a643a9d7 Rtree static parameters methods changed to static.
[SVN r82079]
2012-12-18 13:52:22 +00:00
Adam Wulkiewicz
95f6cf8442 Some compilation errors corrected in local index::static_vector.
[SVN r82048]
2012-12-17 15:43:27 +00:00
Adam Wulkiewicz
b8e533f7be static_vector size_t changed to std::size_t.
[SVN r82035]
2012-12-16 22:00:22 +00:00
Adam Wulkiewicz
c51fbe50b9 Iterators check changed in erase(f, l).
Tests upgraded.

[SVN r82032]
2012-12-16 19:34:51 +00:00
Adam Wulkiewicz
d96e31bb1b Compilation error fixed.
[SVN r82031]
2012-12-16 19:11:26 +00:00
Adam Wulkiewicz
f43d94fa29 asserts/checks closed in separate functions:
check_capacity()
check_empty()
check_iterator_end_eq()
check_iterator_end_neq()

[SVN r82030]
2012-12-16 19:09:10 +00:00
Adam Wulkiewicz
24f349839f Added templated versions of static_vector copy ctor and assignment.
GCC compile error fixed in test.

[SVN r82028]
2012-12-16 18:45:23 +00:00
Adam Wulkiewicz
32fbcf66ed Added statid_vector::insert(pos, first, last) for non random access iterators.
Added uninitialized_copy_checked() helper method.
Added tests.

[SVN r82027]
2012-12-16 18:31:03 +00:00
Adam Wulkiewicz
7e6f3b197e static_vector: assertion moved.
[SVN r82025]
2012-12-16 16:13:35 +00:00
Adam Wulkiewicz
0ae51b1dbc Implemented static_vector::insert(pos, first, last) for random access iterators.
Tests added.

[SVN r82024]
2012-12-16 16:09:07 +00:00
Adam Wulkiewicz
57c75071f9 Added size() check to the insert test.
[SVN r82009]
2012-12-16 02:43:18 +00:00
Adam Wulkiewicz
5c9f96c750 Added static_vector::insert(pos, n, val) + test.
[SVN r82008]
2012-12-16 02:40:29 +00:00
Adam Wulkiewicz
8c6d651676 Fixed wrong assert in static_vector::insert(pos, val)
Test added.

[SVN r82003]
2012-12-16 01:02:38 +00:00
Adam Wulkiewicz
50bb3d9fdf Error fixed in static_vector::insert(pos, val).
Test added.

[SVN r82002]
2012-12-16 00:58:07 +00:00
Adam Wulkiewicz
2b5cd1d7e8 implemented static_vector insert(pos, val)
[SVN r82000]
2012-12-16 00:40:39 +00:00
Adam Wulkiewicz
475837cfa6 static_vector: types comparison warnings fixed.
[SVN r81994]
2012-12-15 23:51:24 +00:00
Adam Wulkiewicz
20c8e649b7 static_vector: fixed wrong assert, removed ptr(i), calls of ptr(i) replaced by methods returning iterators wherever possible.
[SVN r81992]
2012-12-15 23:41:37 +00:00
Adam Wulkiewicz
addc5eebcf Added static_vector::erase() and tests.
[SVN r81990]
2012-12-15 23:21:59 +00:00
Adam Wulkiewicz
b985f5a561 Added assertion in static_vector.
[SVN r81980]
2012-12-15 20:55:38 +00:00
Adam Wulkiewicz
ba031be21a Added static_vector::assign(count, value) + test.
Added static_vector iterators test.

[SVN r81978]
2012-12-15 20:07:19 +00:00
Adam Wulkiewicz
bed0b92f6e static_vector helper method uninitialized_copy(Val, It) changed to uninitialized_fill(It, Val).
[SVN r81977]
2012-12-15 19:31:45 +00:00
Adam Wulkiewicz
36f0abc509 Fixed gcc compiler errors.
[SVN r81974]
2012-12-15 16:42:56 +00:00
Adam Wulkiewicz
d55108b720 Added ctor and modified assign to static_vector.
static_vector(Iter, Iter), assign(Iter, Iter) + separated version for RandomIterators.
Private helper methods now are able to take arbitrary type (Iterator, Value).

[SVN r81971]
2012-12-15 16:30:57 +00:00
Adam Wulkiewicz
395777fb9d fixed static_vector error related to construction of values with nontrivial default constructor.
tests added.

[SVN r81962]
2012-12-14 23:22:16 +00:00
Adam Wulkiewicz
ec661bbe1e bgi tests reenabled in Jamfile.
[SVN r81961]
2012-12-14 23:03:04 +00:00
Adam Wulkiewicz
da5a91bad4 static_vector error fixed, tests added.
[SVN r81960]
2012-12-14 22:59:19 +00:00
Adam Wulkiewicz
479c6a3bab Error fixed in static_vector::at().
Added test for static_vector.

[SVN r81958]
2012-12-14 22:35:46 +00:00
Adam Wulkiewicz
b22bd9525c assertion added in static_vector::assign();
[SVN r81954]
2012-12-14 21:46:53 +00:00
Adam Wulkiewicz
bbba565874 Compilation error fixed.
[SVN r81953]
2012-12-14 21:28:04 +00:00
Adam Wulkiewicz
17ed2a700b static_vector resize() and corresponding ctor divided into 2 methods/ctors (C++11).
First one uses default ctors (for noncopyable values).
Second one uses copy ctors (for values with no default ctor).

[SVN r81952]
2012-12-14 21:26:14 +00:00
Adam Wulkiewicz
3005f91f84 Small improvement to the nearest_query added.
[SVN r81949]
2012-12-14 19:46:18 +00:00
Adam Wulkiewicz
ac27db1a2c Exception safety table rearranged.
[SVN r81948]
2012-12-14 19:23:11 +00:00
Adam Wulkiewicz
627452da2a Added rtree::count() method. Docs modified.
[SVN r81947]
2012-12-14 19:15:34 +00:00
Adam Wulkiewicz
cce223726a Added info about the Value with no default ctor in docs.
[SVN r81941]
2012-12-14 15:01:04 +00:00
Adam Wulkiewicz
d7cf32bcfa Rtree value_type must no longer have default ctor defined.
Added static_vector::assign(), added assertion in static_vector::resize().
Added test for value without default ctor..

[SVN r81940]
2012-12-14 14:49:45 +00:00
Adam Wulkiewicz
1ae333d9a6 rtree assign() test commented out.
[SVN r81937]
2012-12-14 12:10:34 +00:00
Adam Wulkiewicz
8f67c58ea4 rtree::assign() commented out.
[SVN r81936]
2012-12-14 12:07:25 +00:00
Adam Wulkiewicz
79436250e5 Added assign() to the rtree interface. Fixed compilation error in static_vector.
[SVN r81935]
2012-12-14 11:58:40 +00:00
Adam Wulkiewicz
95000752cd static_vector changes: added MPL_ASSERT, added difference_type.
[SVN r81934]
2012-12-14 11:33:48 +00:00
Adam Wulkiewicz
4022ec2ccc added val_ref parameter to static_vector::resize() and constructor, added methods max_size(), data(), at(), added some comments
[SVN r81931]
2012-12-14 04:18:21 +00:00
Adam Wulkiewicz
ae07c29360 added optimized versions of static_vector operations, however preliminary tests on linux shows no speed difference
[SVN r81930]
2012-12-14 02:02:52 +00:00
Adam Wulkiewicz
a8f5d60f93 Added optimized uninitialized_copy() and destroy() to static_vector.
[SVN r81925]
2012-12-14 00:13:20 +00:00
Adam Wulkiewicz
34768c2fb2 Some VS warnings fixed.
[SVN r81923]
2012-12-13 23:08:37 +00:00
Adam Wulkiewicz
3f1d769d9f Added MultiPolygon spatial query picture to docs.
Added MultiPolygon query to GLUT Vis.

[SVN r81921]
2012-12-13 22:37:06 +00:00
Adam Wulkiewicz
d04440d13e rtree all tests divided into 2 files(for points and boxes) because b2 was complaining about the files sizes.
rtree tests were generated by tests/rtree_test_generator.cpp

[SVN r81912]
2012-12-13 20:38:05 +00:00
Adam Wulkiewicz
1840b1abee Removed not compiling test code from GLUT Vis.
[SVN r81909]
2012-12-13 18:50:38 +00:00
Adam Wulkiewicz
531629051a Info about spatial predicates using Ring and Polygon added in docs.
Ring and Polygon queries added to GLUT Vis test.

[SVN r81907]
2012-12-13 18:39:31 +00:00
Adam Wulkiewicz
c6095f72f7 Added rtree test counting existing Values objects while inserting and removing.
[SVN r81902]
2012-12-13 17:14:06 +00:00