| 73 | std::shared_ptr<arrow::Table> Table::unwrap() { return table; } |
| 74 | |
| 75 | void Table::toString(libmexclass::proxy::method::Context& context) { |
| 76 | MATLAB_ASSIGN_OR_ERROR_WITH_CONTEXT(const auto utf16_string, |
| 77 | arrow::util::UTF8StringToUTF16(table->ToString()), |
| 78 | context, error::UNICODE_CONVERSION_ERROR_ID); |
| 79 | mda::ArrayFactory factory; |
| 80 | auto str_mda = factory.createScalar(utf16_string); |
| 81 | context.outputs[0] = str_mda; |
| 82 | } |
| 83 | |
| 84 | namespace { |
| 85 | libmexclass::proxy::MakeResult from_arrays(const mda::StructArray& opts) { |
nothing calls this directly
no outgoing calls
no test coverage detected