|
Sen API
Sen Libraries
|
Data of a quantity type. More...
#include <quantity_type.h>
Public Member Functions | |
| QuantitySpec (std::string name, std::string qualifiedName, std::string description, ConstTypeHandle< NumericType > elementType, std::optional< const Unit * > unit=std::nullopt, std::optional< float64_t > minValue=std::nullopt, std::optional< float64_t > maxValue=std::nullopt) | |
Public Attributes | |
| std::string | name |
| std::string | qualifiedName |
| std::string | description |
| ConstTypeHandle< NumericType > | elementType |
| std::optional< const Unit * > | unit |
| std::optional< float64_t > | minValue |
| std::optional< float64_t > | maxValue |
Friends | |
| bool | operator== (const QuantitySpec &lhs, const QuantitySpec &rhs) noexcept |
| bool | operator!= (const QuantitySpec &lhs, const QuantitySpec &rhs) noexcept |
Data of a quantity type.
|
inline |
|
friend |
|
friend |
| std::string sen::QuantitySpec::name |
| std::string sen::QuantitySpec::qualifiedName |
| std::string sen::QuantitySpec::description |
| ConstTypeHandle<NumericType> sen::QuantitySpec::elementType |
| std::optional<const Unit*> sen::QuantitySpec::unit |
| std::optional<float64_t> sen::QuantitySpec::minValue |
| std::optional<float64_t> sen::QuantitySpec::maxValue |