* Get the Enumeration from the attribute with name `attr_name`. * * @param ctx The context to use. * @param array The array containing the attribute. * @param attr_name The name of the attribute to get the enumeration from. * @return Enumeration The enumeration. */
| 51 | * @return Enumeration The enumeration. |
| 52 | */ |
| 53 | static Enumeration get_enumeration( |
| 54 | const Context& ctx, const Array& array, const std::string& attr_name) { |
| 55 | tiledb_enumeration_t* enmr; |
| 56 | ctx.handle_error(tiledb_array_get_enumeration( |
| 57 | ctx.ptr().get(), array.ptr().get(), attr_name.c_str(), &enmr)); |
| 58 | return Enumeration(ctx, enmr); |
| 59 | } |
| 60 | |
| 61 | /** |
| 62 | * Load all enumerations for the array's latest array schema. |
nothing calls this directly
no test coverage detected