Template Struct QuantityValueTyping#

Struct Documentation#

template<typename Value>
struct QuantityValueTyping#

Describes the Python annotation for a C++ magnitude type.

The primary template preserves support for arbitrary magnitude types by allowing the pybind11 caster to supply its normal Python annotation.

Template Parameters:

Value – The C++ type used to store a quantity magnitude.

Public Static Attributes

static bool hasPythonTypeName = false#

Whether pythonTypeName supplies an explicit bracket annotation.

static bool hasKtypingName = false#

Whether pythonTypeName names a Karana Ktyping alias.

static char pythonTypeName[] = ""#

Explicit Python type name, empty when no name is registered.