* Check if the current_domain is empty * * @return True if the currentDomain is empty */
| 151 | * @return True if the currentDomain is empty |
| 152 | */ |
| 153 | bool is_empty() const { |
| 154 | uint32_t ret; |
| 155 | auto& ctx = ctx_.get(); |
| 156 | ctx.handle_error(tiledb_current_domain_get_is_empty( |
| 157 | ctx.ptr().get(), current_domain_.get(), &ret)); |
| 158 | return static_cast<bool>(ret); |
| 159 | } |
| 160 | |
| 161 | /** Returns the context that the current domain belongs to. */ |
| 162 | const Context& context() const { |
no test coverage detected