| 235 | */ |
| 236 | template <class T> |
| 237 | std::array<T, 2> range(const std::string& dim_name) { |
| 238 | auto& ctx = ctx_.get(); |
| 239 | tiledb_range_t range; |
| 240 | ctx.handle_error(tiledb_ndrectangle_get_range_from_name( |
| 241 | ctx.ptr().get(), ndrect_.get(), dim_name.c_str(), &range)); |
| 242 | |
| 243 | return {*(const T*)range.min, *(const T*)range.max}; |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * Retrieves a range for a given dimension index. The template datatype must |
nothing calls this directly
no test coverage detected