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
one implementation (say list-based) on the C++ side
Possible follow-ups are (separate issues once we pick them up):
Given a class MyVectorArray : public VectorArrayInterface on the C++ side, how do we ensure the corresponding Python object is derived from nias.interfaces.VectorArray?
We need at least:
Possible follow-ups are (separate issues once we pick them up):
Given a
class MyVectorArray : public VectorArrayInterface
on the C++ side, how do we ensure the corresponding Python object is derived fromnias.interfaces.VectorArray
?Ideally, the bindings would directly inherit on the Python side, but there might be issues in pybind11 (see Subclass python class in C++ pybind/pybind11#1193).
Given any Python vector array derived from
nias.interfaces.VectorArray
, how can we use that in bindings of C++ functions?Say, we have an algorithm implementation on the C++ side like
we want to bind that so that we roughly have
on the Python side.
This likely requires a wrapper on the C++ side that holds the Python object and implements the
VectorArrayInterface
.The text was updated successfully, but these errors were encountered: