* Get the number of dimensions associated with the NDRectangle. * * @return The number of dimensions. */
| 307 | * @return The number of dimensions. |
| 308 | */ |
| 309 | uint32_t dim_num() { |
| 310 | auto& ctx = ctx_.get(); |
| 311 | |
| 312 | uint32_t ndim; |
| 313 | ctx.handle_error( |
| 314 | tiledb_ndrectangle_get_dim_num(ctx.ptr().get(), ndrect_.get(), &ndim)); |
| 315 | |
| 316 | return ndim; |
| 317 | } |
| 318 | |
| 319 | /** Returns the context that the ndrectangle belongs to. */ |
| 320 | const Context& context() const { |
no test coverage detected