#include <tristate.h>
Public Member Functions | |
| PYBIND11_TYPE_CASTER (lsst::sphgeom::TriState, _("bool | None")) | |
| bool | load (handle src, bool) |
Static Public Member Functions | |
| static handle | cast (lsst::sphgeom::TriState src, return_value_policy, handle) |
This struct is a partial specialization of type_caster for for lsst::sphgeom::TriState.
It maps between TriState and Python bool or None, avoiding the need to wrap the former. This header should be included by all wrappers for functions that consume or return TriState instances.