MCPcopy Create free account
hub / github.com/apache/arrow / getNumFields

Method getNumFields

matlab/src/cpp/arrow/matlab/type/proxy/type.cc:44–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void Type::getNumFields(libmexclass::proxy::method::Context& context) {
45 namespace mda = ::matlab::data;
46 mda::ArrayFactory factory;
47
48 auto num_fields_mda = factory.createScalar(data_type->num_fields());
49 context.outputs[0] = num_fields_mda;
50}
51
52void Type::getFieldByIndex(libmexclass::proxy::method::Context& context) {
53 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls 1

num_fieldsMethod · 0.45

Tested by

no test coverage detected