33 lines
557 B
Plaintext
33 lines
557 B
Plaintext
#include <pybind11/eigen.h>
|
|
#include <pybind11/stl_bind.h>
|
|
#include <pybind11/pybind11.h>
|
|
#include <pybind11/operators.h>
|
|
#include <pybind11/iostream.h>
|
|
#include <pybind11/functional.h>
|
|
#include "gtsam/base/serialization.h"
|
|
#include "gtsam/base/utilities.h" // for RedirectCout.
|
|
|
|
{includes}
|
|
|
|
{boost_class_export}
|
|
|
|
#include "python/preamble.h"
|
|
|
|
using namespace std;
|
|
|
|
namespace py = pybind11;
|
|
|
|
{submodules}
|
|
|
|
{module_def} {{
|
|
m_.doc() = "pybind11 wrapper of {module_name}";
|
|
|
|
{submodules_init}
|
|
|
|
{wrapped_namespace}
|
|
|
|
#include "python/specializations.h"
|
|
|
|
}}
|
|
|