gtsam/wrap/tests/expected_namespaces/+ns1/ClassA.m

39 lines
1.0 KiB
Matlab
Raw Normal View History

2012-08-28 02:10:51 +08:00
%-------Constructors-------
2012-09-04 06:48:08 +08:00
%ClassA()
2012-08-29 05:44:45 +08:00
%
2012-08-28 02:10:51 +08:00
%-------Methods-------
2012-08-29 05:44:45 +08:00
%
2012-08-28 02:10:51 +08:00
%-------Static Methods-------
%
%For more detailed documentation on GTSAM go to our Doxygen page, which can be found at http://research.cc.gatech.edu/borg/sites/edu.borg/html/index.html
classdef ClassA < handle
properties
ptr_ns1ClassA = 0
end
methods
function obj = ClassA(varargin)
if nargin == 2 && isa(varargin{1}, 'uint64') && varargin{1} == uint64(5139824614673773682)
my_ptr = varargin{2};
testNamespaces_wrapper(0, my_ptr);
elseif nargin == 0
my_ptr = testNamespaces_wrapper(1);
else
error('Arguments do not match any overload of ns1.ClassA constructor');
end
obj.ptr_ns1ClassA = my_ptr;
end
function delete(obj)
testNamespaces_wrapper(2, obj.ptr_ns1ClassA);
end
function display(obj), obj.print(''); end
2012-08-30 04:27:10 +08:00
%DISPLAY Calls print on the object
function disp(obj), obj.display; end
2012-08-30 04:27:10 +08:00
%DISP Calls print on the object
end
methods(Static = true)
end
end