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

Method getFilename

matlab/src/cpp/arrow/matlab/io/csv/proxy/table_reader.cc:91–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void TableReader::getFilename(libmexclass::proxy::method::Context& context) {
92 namespace mda = ::matlab::data;
93 mda::ArrayFactory factory;
94
95 MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto filename_utf16,
96 arrow::util::UTF8StringToUTF16(filename), context,
97 error::UNICODE_CONVERSION_ERROR_ID);
98 auto filename_utf16_mda = factory.createScalar(filename_utf16);
99 context.outputs[0] = filename_utf16_mda;
100}
101
102} // namespace arrow::matlab::io::csv::proxy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected