Template Struct PyStateTypeWrapper

Template Struct PyStateTypeWrapper#

Struct Documentation#

template<class PyClass>
struct PyStateTypeWrapper#

A simple wrapper used for creating the toStateDS method caster.

Template Parameters:

PyClass – The Python class to create a wrapper for.

Public Functions

inline PyStateTypeWrapper(pybind11::object o)#

Constructor.

Parameters:

o – The pybind11 object for the PyTypeWrapper to hold.

Public Members

pybind11::object obj#

The pybind11 object that this class owns.