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
2012-07-18 23:47:06 +08:00
classdef ClassA < handle
2012-07-09 04:23:47 +08:00
properties
2012-07-10 22:21:58 +08:00
ptr_ns1ClassA = 0
2012-07-09 04:23:47 +08:00
end
methods
2012-07-18 23:47:06 +08:00
function obj = ClassA ( varargin)
2012-07-09 04:23:47 +08:00
if nargin == 2 && isa ( varargin { 1 } , ' uint64' ) && varargin { 1 } == uint64 ( 5139824614673773682 )
2012-07-10 22:21:58 +08:00
my_ptr = varargin { 2 } ;
testNamespaces_wrapper ( 0 , my_ptr ) ;
2012-07-09 04:23:47 +08:00
elseif nargin == 0
2012-07-10 22:21:58 +08:00
my_ptr = testNamespaces_wrapper ( 1 ) ;
2012-07-09 04:23:47 +08:00
else
2012-07-18 23:47:06 +08:00
error ( ' Arguments do not match any overload of ns1.ClassA constructor' ) ;
2012-07-09 04:23:47 +08:00
end
2012-07-10 22:21:58 +08:00
obj . ptr_ns1ClassA = my_ptr ;
2012-07-09 04:23:47 +08:00
end
function delete ( obj)
2012-07-10 22:21:58 +08:00
testNamespaces_wrapper ( 2 , obj . ptr_ns1ClassA ) ;
2012-07-09 04:23:47 +08:00
end
function display(obj), obj.print ( '') ; end
2012-08-30 04:27:10 +08:00
%DISPLAY Calls print on the object
2012-07-09 04:23:47 +08:00
function disp ( obj) , obj . display ; end
2012-08-30 04:27:10 +08:00
%DISP Calls print on the object
2012-07-09 04:23:47 +08:00
end
methods ( Static = true )
end
end