| 
									
										
										
										
											2012-09-09 03:51:23 +08:00
										 |  |  | %class ClassD, see Doxygen page for details | 
					
						
							|  |  |  | %at http://research.cc.gatech.edu/borg/sites/edu.borg/html/index.html | 
					
						
							|  |  |  | % | 
					
						
							| 
									
										
										
										
											2012-08-28 01:54:25 +08:00
										 |  |  | %-------Constructors------- | 
					
						
							| 
									
										
										
										
											2012-09-04 06:48:08 +08:00
										 |  |  | %ClassD() | 
					
						
							| 
									
										
										
										
											2012-08-28 01:54:25 +08:00
										 |  |  | % | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  | classdef ClassD < handle | 
					
						
							|  |  |  |   properties | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |     ptr_ClassD = 0 | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |   end | 
					
						
							|  |  |  |   methods | 
					
						
							|  |  |  |     function obj = ClassD(varargin)
 | 
					
						
							|  |  |  |       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(19, 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(20); | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |       else | 
					
						
							|  |  |  |         error('Arguments do not match any overload of ClassD constructor'); | 
					
						
							|  |  |  |       end | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |       obj.ptr_ClassD = my_ptr; | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |     end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     function delete(obj)
 | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |       testNamespaces_wrapper(21, obj.ptr_ClassD); | 
					
						
							| 
									
										
										
										
											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 |