Template Struct QuantityValueTyping#
Defined in File pybind11Kquantities.h
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
pythonTypeNamesupplies an explicit bracket annotation.
-
static bool hasKtypingName = false#
Whether
pythonTypeNamenames a Karana Ktyping alias.
-
static char pythonTypeName[] = ""#
Explicit Python type name, empty when no name is registered.