| 
									
										
										
										
											2012-09-09 03:51:23 +08:00
										 |  |  | %class ClassB, see Doxygen page for details | 
					
						
							|  |  |  | %at http://research.cc.gatech.edu/borg/sites/edu.borg/html/index.html | 
					
						
							|  |  |  | % | 
					
						
							| 
									
										
										
										
											2012-08-28 02:10:51 +08:00
										 |  |  | %-------Constructors------- | 
					
						
							| 
									
										
										
										
											2012-09-04 06:48:08 +08:00
										 |  |  | %ClassB() | 
					
						
							| 
									
										
										
										
											2012-08-28 02:10:51 +08:00
										 |  |  | % | 
					
						
							| 
									
										
										
										
											2012-07-18 23:47:06 +08:00
										 |  |  | classdef ClassB < handle | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |   properties | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |     ptr_ns2ns3ClassB = 0 | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |   end | 
					
						
							|  |  |  |   methods | 
					
						
							| 
									
										
										
										
											2012-07-18 23:47:06 +08:00
										 |  |  |     function obj = ClassB(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(13, 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(14); | 
					
						
							| 
									
										
										
										
											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 ns2.ns3.ClassB constructor'); | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |       end | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |       obj.ptr_ns2ns3ClassB = my_ptr; | 
					
						
							| 
									
										
										
										
											2012-07-09 04:23:47 +08:00
										 |  |  |     end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     function delete(obj)
 | 
					
						
							| 
									
										
										
										
											2012-07-10 22:21:58 +08:00
										 |  |  |       testNamespaces_wrapper(15, obj.ptr_ns2ns3ClassB); | 
					
						
							| 
									
										
										
										
											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 |