2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# Information for Developers
  
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Coding Conventions
  
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								*  Classes are Uppercase, methods and functions lowerMixedCase. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  We use a modified K& R Style, with 2-space tabs, inserting spaces for tabs. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								*  Use meaningful variable names, e.g. `measurement`  not `msm` . 
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								### Windows
  
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								On Windows it is necessary to explicitly export all functions from the library which should be externally accessible. To do this, include the macro `GTSAM_EXPORT`  in your class or function definition.
							 
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								For example:
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```cpp
							 
						 
					
						
							
								
									
										
										
										
											2014-05-06 02:42:46 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								class GTSAM_EXPORT MyClass { ... };
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-06-14 05:26:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								GTSAM_EXPORT myFunction();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```