2020-08-18 02:44:43 +08:00
|
|
|
%class MyVector12, see Doxygen page for details
|
|
|
|
|
%at https://gtsam.org/doxygen/
|
|
|
|
|
%
|
|
|
|
|
%-------Constructors-------
|
|
|
|
|
%MyVector12()
|
|
|
|
|
%
|
|
|
|
|
classdef MyVector12 < handle
|
|
|
|
|
properties
|
|
|
|
|
ptr_MyVector12 = 0
|
|
|
|
|
end
|
|
|
|
|
methods
|
|
|
|
|
function obj = MyVector12(varargin)
|
|
|
|
|
if nargin == 2 && isa(varargin{1}, 'uint64') && varargin{1} == uint64(5139824614673773682)
|
|
|
|
|
my_ptr = varargin{2};
|
2022-10-29 01:10:19 +08:00
|
|
|
class_wrapper(52, my_ptr);
|
2020-08-18 02:44:43 +08:00
|
|
|
elseif nargin == 0
|
2022-10-29 01:10:19 +08:00
|
|
|
my_ptr = class_wrapper(53);
|
2020-08-18 02:44:43 +08:00
|
|
|
else
|
|
|
|
|
error('Arguments do not match any overload of MyVector12 constructor');
|
|
|
|
|
end
|
|
|
|
|
obj.ptr_MyVector12 = my_ptr;
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function delete(obj)
|
2022-10-29 01:10:19 +08:00
|
|
|
class_wrapper(54, obj.ptr_MyVector12);
|
2020-08-18 02:44:43 +08:00
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function display(obj), obj.print(''); end
|
|
|
|
|
%DISPLAY Calls print on the object
|
|
|
|
|
function disp(obj), obj.display; end
|
|
|
|
|
%DISP Calls print on the object
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
methods(Static = true)
|
|
|
|
|
end
|
|
|
|
|
end
|