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

Method getFilename

matlab/src/cpp/arrow/matlab/io/feather/proxy/reader.cc:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101void Reader::getFilename(libmexclass::proxy::method::Context& context) {
102 namespace mda = ::matlab::data;
103 mda::ArrayFactory factory;
104
105 MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto filename_utf16,
106 arrow::util::UTF8StringToUTF16(filename), context,
107 error::UNICODE_CONVERSION_ERROR_ID);
108 auto filename_utf16_mda = factory.createScalar(filename_utf16);
109 context.outputs[0] = filename_utf16_mda;
110}
111
112} // namespace arrow::matlab::io::feather::proxy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected