* Creates a TileDB query condition object. * @param ctx TileDB context. */
| 52 | * @param ctx TileDB context. |
| 53 | */ |
| 54 | QueryCondition(const Context& ctx) |
| 55 | : ctx_(ctx) { |
| 56 | tiledb_query_condition_t* qc; |
| 57 | ctx.handle_error(tiledb_query_condition_alloc(ctx.ptr().get(), &qc)); |
| 58 | query_condition_ = std::shared_ptr<tiledb_query_condition_t>(qc, deleter_); |
| 59 | } |
| 60 | |
| 61 | /** Copy constructor. */ |
| 62 | QueryCondition(const QueryCondition&) = default; |
nothing calls this directly
no test coverage detected