MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / NDRectangle

Method NDRectangle

tiledb/sm/cpp_api/ndrectangle.h:61–67  ·  view source on GitHub ↗

* Constructor * * @param ctx The TileDB context * @param domain The input Domain */

Source from the content-addressed store, hash-verified

59 * @param domain The input Domain
60 */
61 explicit NDRectangle(const tiledb::Context& ctx, const tiledb::Domain& domain)
62 : ctx_(ctx) {
63 tiledb_ndrectangle_t* capi_ndrect;
64 ctx.handle_error(tiledb_ndrectangle_alloc(
65 ctx.ptr().get(), domain.ptr().get(), &capi_ndrect));
66 ndrect_ = std::shared_ptr<tiledb_ndrectangle_t>(capi_ndrect, deleter_);
67 }
68
69 /**
70 * Constructor

Callers

nothing calls this directly

Calls 4

tiledb_ndrectangle_allocFunction · 0.85
handle_errorMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected