* Constructor * * @param ctx The TileDB context * @param domain The input Domain */
| 59 | * @param domain The input Domain |
| 60 | */ |
| 61 | explicit NDRectangle(const tiledb::Context& ctx, const tiledb::Domain& domain) |
| 62 | : ctx_(ctx) { |
| 63 | tiledb_ndrectangle_t* capi_ndrect; |
| 64 | ctx.handle_error(tiledb_ndrectangle_alloc( |
| 65 | ctx.ptr().get(), domain.ptr().get(), &capi_ndrect)); |
| 66 | ndrect_ = std::shared_ptr<tiledb_ndrectangle_t>(capi_ndrect, deleter_); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Constructor |
nothing calls this directly
no test coverage detected