MatrixBerryCore
ReflectionHelper.m
Go to the documentation of this file.
1 classdef ReflectionHelper<handle
2  methods
3  function self=ReflectionHelper(valBox)
4  if ~isa(valBox,'mxberry.core.cont.ValueBox')
5  mxberry.core.throwerror('wrongInput',...
6  'Input is expected to be a boxed value object');
7  end
8  valBox.setValue(metaclass(self));
9  end
10  end
11 end
function throwerror(in msgTag, in varargin)
THROWERROR works similarly to built-in ERROR function in case when there is no output arguments but s...