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

Method getFilename

matlab/src/cpp/arrow/matlab/io/feather/proxy/writer.cc:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void Writer::getFilename(libmexclass::proxy::method::Context& context) {
53 namespace mda = ::matlab::data;
54 MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto utf16_filename,
55 arrow::util::UTF8StringToUTF16(filename), context,
56 error::UNICODE_CONVERSION_ERROR_ID);
57 mda::ArrayFactory factory;
58 auto str_mda = factory.createScalar(utf16_filename);
59 context.outputs[0] = str_mda;
60}
61
62void Writer::write(libmexclass::proxy::method::Context& context) {
63 namespace mda = ::matlab::data;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected