* Creates a TileDB current_domain object. * * @param ctx TileDB context * @param type The TileDB currentDomain type */
| 68 | * @param type The TileDB currentDomain type |
| 69 | */ |
| 70 | explicit CurrentDomain(const Context& ctx) |
| 71 | : ctx_(ctx) { |
| 72 | tiledb_current_domain_t* cd; |
| 73 | ctx.handle_error(tiledb_current_domain_create(ctx.ptr().get(), &cd)); |
| 74 | current_domain_ = std::shared_ptr<tiledb_current_domain_t>(cd, deleter_); |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Creates a TileDB current_domain object. |
nothing calls this directly
no test coverage detected