| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  | {include_boost} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include <pybind11/eigen.h> | 
					
						
							|  |  |  | #include <pybind11/stl_bind.h> | 
					
						
							|  |  |  | #include <pybind11/pybind11.h> | 
					
						
							| 
									
										
										
										
											2021-04-02 11:20:12 +08:00
										 |  |  | #include <pybind11/operators.h> | 
					
						
							| 
									
										
										
										
											2021-04-17 09:07:09 +08:00
										 |  |  | #include <pybind11/iostream.h> | 
					
						
							| 
									
										
										
										
											2021-04-21 05:05:32 +08:00
										 |  |  | #include <pybind11/functional.h> | 
					
						
							| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  | #include "gtsam/base/serialization.h" | 
					
						
							| 
									
										
										
										
											2021-07-11 23:10:09 +08:00
										 |  |  | #include "gtsam/base/utilities.h"  // for RedirectCout. | 
					
						
							| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | {includes} | 
					
						
							|  |  |  | #include <boost/serialization/export.hpp> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {boost_class_export} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-03-14 01:01:28 +08:00
										 |  |  | {holder_type} | 
					
						
							| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "python/preamble.h" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | using namespace std; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace py = pybind11; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-11 23:10:09 +08:00
										 |  |  | {submodules} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {module_def} {{ | 
					
						
							| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  |     m_.doc() = "pybind11 wrapper of {module_name}"; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-07-11 23:10:09 +08:00
										 |  |  | {submodules_init} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-08-18 02:44:43 +08:00
										 |  |  | {wrapped_namespace} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "python/specializations.h" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }} | 
					
						
							|  |  |  | 
 |