You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wrap/DOCS.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,12 +192,14 @@ The python wrapper supports keyword arguments for functions/methods. Hence, the
192
192
193
193
-**DO NOT** re-define an overriden function already declared in the external (forward-declared) base class. This will cause an ambiguity problem in the Pybind header file.
194
194
195
+
- Splitting wrapper over multiple files
196
+
- The Pybind11 wrapper supports splitting the wrapping code over multiple files.
197
+
- To be able to use classes from another module, simply import the C++ header file in that wrapper file.
198
+
- Unfortunately, this means that aliases can no longer be used.
199
+
- Similarly, there can be multiple `preamble.h` and `specializations.h` files. Each of these should match the module file name.
195
200
196
201
### TODO
197
-
- Default values for arguments.
198
-
- WORKAROUND: make multiple versions of the same function for different configurations of default arguments.
199
202
- Handle `gtsam::Rot3M` conversions to quaternions.
200
203
- Parse return of const ref arguments.
201
204
- Parse `std::string` variants and convert directly to special string.
202
-
- Add enum support.
203
205
- Add generalized serialization support via `boost.serialization` with hooks to MATLAB save/load.
0 commit comments