3 % Wrapper-
class for reduced data containing big data
5 properties (Access=
private,Hidden=
true)
13 this.reduced_data = reduced_data;
17 function set(this, reduced_data)
18 this.reduced_data = reduced_data;
22 function reduced_data = get(this)
23 reduced_data = this.reduced_data;
26 % forward to reduced_data
27 function b = isempty(this)
28 b = isempty(this.reduced_data);
31 % forward to reduced_data
32 function b = isfield(this, fieldnames)
33 b = isfield(this.reduced_data, fieldnames);
36 % conditionally forward to reduced_data
37 function varargout = subsref(this, S)
38 if any(strcmp(S(1).subs, methods(this)))
39 [varargout{1:nargout}] = builtin(
'subsref',
this, S);
41 [varargout{1:nargout}] = subsref(this.reduced_data, S);
45 % conditionally forward to reduced_data
46 function this = subsasgn(
this, S, B)
47 if any(strcmp(S(1).subs, methods(this)))
48 this = builtin('subsasgn', this, S, B);
50 this.reduced_data = subsasgn(this.reduced_data, S, B);
Wrapper-class for reduced data containing big data.