|
DPsim
|
#include <iomanip>#include <pybind11/complex.h>#include <pybind11/eigen.h>#include <pybind11/functional.h>#include <pybind11/iostream.h>#include <pybind11/pybind11.h>#include <pybind11/stl.h>#include <DPsim.h>#include <DPsimPy.h>Go to the source code of this file.
Functions | |
| PYBIND11_DECLARE_HOLDER_TYPE (T, CPS::AttributePointer< T >) | |
| static void | systemTopologyAddSingle (DPsim::SystemTopology &sys, const py::handle &item) |
| PYBIND11_MODULE (dpsimpy, m) | |
| PYBIND11_DECLARE_HOLDER_TYPE | ( | T | , |
| CPS::AttributePointer< T > | ) |
| PYBIND11_MODULE | ( | dpsimpy | , |
| m | ) |
Compatibility method. Might be removed later when the python examples have been fully adapted.
Compatibility method. Might be removed later when the python examples have been fully adapted.;
Compatibility method. Might be removed later when the python examples have been fully adapted.
Compatibility method. Might be removed later when the python examples have been fully adapted.
Compatibility method. Might be removed later when the python examples have been fully adapted.;
CHECK: It would be nicer if all the attributes of an IdObject were bound as properties so they show up in the documentation and auto-completion. I don't know if this is possible to do because it depends on if the attribute map is filled before or after the code in this file is run. Manually adding the attributes would of course be possible but very tedious to do for all existing components / attributes
|
static |