Skip to content

Commit

Permalink
Add list_array.cc stub class implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Oct 11, 2023
1 parent 5970740 commit f07977e
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions matlab/src/cpp/arrow/matlab/array/proxy/list_array.cc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.


#include "arrow/matlab/array/proxy/list_array.h"
#include "arrow/matlab/array/proxy/wrap.h"

#include "libmexclass/proxy/ProxyManager.h"

namespace arrow::matlab::array::proxy {

ListArray::ListArray(std::shared_ptr<arrow::ListArray> array) : array{std::move(array)} {
REGISTER_METHOD(ListArray, getValues);
REGISTER_METHOD(ListArray, getOffsets);
}


void ListArray::getValues(libmexclass::proxy::method::Context& context) {
namespace mda = ::matlab::data;
// STUB METHOD
}

void ListArray::getOffsets(libmexclass::proxy::method::Context& context) {
namespace mda = ::matlab::data;
// STUB METHOD
}
}

0 comments on commit f07977e

Please sign in to comment.