File tree 1 file changed +37
-0
lines changed
matlab/src/matlab/+arrow/+c
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ % ARRAY Wrapper for an ArrowArray C struct pointer.
2
+
3
+ % Licensed to the Apache Software Foundation (ASF) under one or more
4
+ % contributor license agreements. See the NOTICE file distributed with
5
+ % this work for additional information regarding copyright ownership.
6
+ % The ASF licenses this file to you under the Apache License, Version
7
+ % 2.0 (the "License"); you may not use this file except in compliance
8
+ % with the License. You may obtain a copy of the License at
9
+ %
10
+ % http://www.apache.org/licenses/LICENSE-2.0
11
+ %
12
+ % Unless required by applicable law or agreed to in writing, software
13
+ % distributed under the License is distributed on an "AS IS" BASIS,
14
+ % WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
+ % implied. See the License for the specific language governing
16
+ % permissions and limitations under the License.
17
+ classdef Array < matlab .mixin .Scalar
18
+
19
+ properties (Hidden , SetAccess = private , GetAccess = public )
20
+ Proxy
21
+ end
22
+
23
+ properties (Dependent , GetAccess = public , SetAccess = private )
24
+ Address (1 , 1 ) uint64
25
+ end
26
+
27
+ methods
28
+ function obj = Array()
29
+ proxyName = " arrow.c.proxy.Array" ;
30
+ obj.Proxy = arrow .internal .proxy .create(proxyName );
31
+ end
32
+
33
+ function address = get .Address(obj )
34
+ address = obj .Proxy .getAddress();
35
+ end
36
+ end
37
+ end
You can’t perform that action at this time.
0 commit comments