37 lines
		
	
	
		
			941 B
		
	
	
	
		
			Matlab
		
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			941 B
		
	
	
	
		
			Matlab
		
	
	
| %class ClassB, see Doxygen page for details
 | |
| %at http://research.cc.gatech.edu/borg/sites/edu.borg/html/index.html
 | |
| %
 | |
| %-------Constructors-------
 | |
| %ClassB()
 | |
| %
 | |
| classdef ClassB < handle
 | |
|   properties
 | |
|     ptr_ns1ClassB = 0
 | |
|   end
 | |
|   methods
 | |
|     function obj = ClassB(varargin)
 | |
|       if nargin == 2 && isa(varargin{1}, 'uint64') && varargin{1} == uint64(5139824614673773682)
 | |
|         my_ptr = varargin{2};
 | |
|         testNamespaces_wrapper(3, my_ptr);
 | |
|       elseif nargin == 0
 | |
|         my_ptr = testNamespaces_wrapper(4);
 | |
|       else
 | |
|         error('Arguments do not match any overload of ns1.ClassB constructor');
 | |
|       end
 | |
|       obj.ptr_ns1ClassB = my_ptr;
 | |
|     end
 | |
| 
 | |
|     function delete(obj)
 | |
|       testNamespaces_wrapper(5, obj.ptr_ns1ClassB);
 | |
|     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
 |