Skip to content

Commit e660107

Browse files
authored
Create rectangle object library from reworked utils code. (#5191)
Create `rectangle` object library from reworked `utils` code. * Rename `tiledb/sm/misc/utils.{h, cc}` to `rectangle`. * Rename the namespace `tiledb::sm::utils::geometry` -> `tiledb::sm::rectangle`. * Remove dead code from the file. * Create a `rectangle` object library for future use. [sc-51145] --- TYPE: NO_HISTORY DESC: Create `rectangle` object library from reworked utils code.
1 parent 038d8bb commit e660107

File tree

75 files changed

+145
-394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+145
-394
lines changed

test/src/cpp-integration-query-condition.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2022 TileDB Inc.
8+
* @copyright Copyright (c) 2022-2024 TileDB Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -39,7 +39,6 @@
3939
#include <test/support/src/vfs_helpers.h>
4040
#include <test/support/tdb_catch.h>
4141
#include "tiledb/sm/cpp_api/tiledb"
42-
#include "tiledb/sm/misc/utils.h"
4342

4443
using namespace tiledb;
4544

test/src/unit-arrow.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2020-2021 TileDB Inc.
8+
* @copyright Copyright (c) 2020-2024 TileDB Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -36,7 +36,6 @@
3636
#include "tiledb/sm/cpp_api/tiledb"
3737
#include "tiledb/sm/filesystem/uri.h"
3838
#include "tiledb/sm/misc/constants.h"
39-
#include "tiledb/sm/misc/utils.h"
4039

4140
#include <pybind11/embed.h>
4241
#include <pybind11/pybind11.h>

test/src/unit-average-cell-size.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "tiledb/sm/enums/encryption_type.h"
4141
#include "tiledb/sm/fragment/fragment_identifier.h"
4242
#include "tiledb/sm/misc/constants.h"
43-
#include "tiledb/sm/misc/utils.h"
4443

4544
#include <numeric>
4645

test/src/unit-capi-array_schema.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2017-2023 TileDB, Inc.
9-
* @copyright Copyright (c) 2016 MIT and Intel Corporation
8+
* @copyright Copyright (c) 2017-2024 TileDB, Inc.
109
*
1110
* Permission is hereby granted, free of charge, to any person obtaining a copy
1211
* of this software and associated documentation files (the "Software"), to deal
@@ -51,7 +50,6 @@
5150
#include "tiledb/sm/c_api/tiledb_serialization.h"
5251
#include "tiledb/sm/enums/serialization_type.h"
5352
#include "tiledb/sm/misc/constants.h"
54-
#include "tiledb/sm/misc/utils.h"
5553

5654
using namespace tiledb::test;
5755

test/src/unit-capi-attributes.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#endif
4646
#include "tiledb/common/stdx_string.h"
4747
#include "tiledb/sm/c_api/tiledb.h"
48-
#include "tiledb/sm/misc/utils.h"
4948

5049
#include <chrono>
5150
#include <iostream>

test/src/unit-capi-dense_neg.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2017-2023 TileDB Inc.
8+
* @copyright Copyright (c) 2017-2024 TileDB Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -39,7 +39,6 @@
3939
#include "tiledb/sm/filesystem/posix.h"
4040
#endif
4141
#include "tiledb/sm/c_api/tiledb.h"
42-
#include "tiledb/sm/misc/utils.h"
4342

4443
#include <iostream>
4544
#include <sstream>

test/src/unit-capi-dense_vector.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2017-2023 TileDB Inc.
8+
* @copyright Copyright (c) 2017-2024 TileDB Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -39,7 +39,6 @@
3939
#include "tiledb/sm/filesystem/posix.h"
4040
#endif
4141
#include "tiledb/sm/c_api/tiledb.h"
42-
#include "tiledb/sm/misc/utils.h"
4342

4443
#include <iostream>
4544
#include <sstream>

test/src/unit-capi-group.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include "tiledb/sm/enums/encryption_type.h"
4747
#include "tiledb/sm/global_state/unit_test_config.h"
4848
#include "tiledb/sm/misc/tdb_time.h"
49-
#include "tiledb/sm/misc/utils.h"
5049

5150
#include <iostream>
5251
#include <sstream>

test/src/unit-capi-nullable.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2020-2023 TileDB, Inc.
8+
* @copyright Copyright (c) 2020-2024 TileDB, Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -37,7 +37,6 @@
3737
#include "tiledb/api/c_api/vfs/vfs_api_internal.h"
3838
#include "tiledb/sm/c_api/tiledb.h"
3939
#include "tiledb/sm/enums/array_type.h"
40-
#include "tiledb/sm/misc/utils.h"
4140

4241
#include <iostream>
4342
#include <optional>

test/src/unit-capi-object_mgmt.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* The MIT License
77
*
8-
* @copyright Copyright (c) 2017-2023 TileDB Inc.
8+
* @copyright Copyright (c) 2017-2024 TileDB Inc.
99
*
1010
* Permission is hereby granted, free of charge, to any person obtaining a copy
1111
* of this software and associated documentation files (the "Software"), to deal
@@ -41,7 +41,6 @@
4141
#endif
4242

4343
#include "tiledb/sm/c_api/tiledb.h"
44-
#include "tiledb/sm/misc/utils.h"
4544

4645
#include <iostream>
4746
#include <sstream>

0 commit comments

Comments
 (0)