19 namespace duds {
namespace data {
63 #endif // #ifndef UNITS_HPP constexpr Unit Meter(DUDS_UNIT_VALUE(0, 0, 0, 0, 1, 0, 0, 0, 0))
constexpr Unit Lumen(DUDS_UNIT_VALUE(0, 1, 0, 0, 0, 0, 0, 0, 1))
constexpr Unit Candela(DUDS_UNIT_VALUE(0, 1, 0, 0, 0, 0, 0, 0, 0))
constexpr Unit Weber(DUDS_UNIT_VALUE(-1, 0, 0, 0, 2, 0, -2, 0, 0))
constexpr Unit Volt(DUDS_UNIT_VALUE(-1, 0, 0, 1, 2, 0, -3, 0, 0))
constexpr Unit Coulomb(DUDS_UNIT_VALUE(1, 0, 0, 0, 0, 0, 1, 0, 0))
constexpr Unit Katal(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 1, -1, 0, 0))
constexpr Unit Newton(DUDS_UNIT_VALUE(0, 0, 0, 1, 1, 0, -2, 0, 0))
constexpr Unit Ohm(DUDS_UNIT_VALUE(-2, 0, 0, 1, 2, 0, -3, 0, 0))
constexpr Unit Tesla(DUDS_UNIT_VALUE(-1, 0, 0, 1, 0, 0, -2, 0, 0))
constexpr Unit Lux(DUDS_UNIT_VALUE(0, 1, 0, 0, -2, 0, 0, 0, 1))
constexpr Unit Becquerel(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 0, -1, 0, 0))
Represents an SI unit, either base or derived.
constexpr Unit Radian(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 0, 0, 1, 0))
constexpr Unit Steradian(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 0, 0, 0, 1))
constexpr Unit Watt(DUDS_UNIT_VALUE(0, 0, 0, 1, 2, 0, -3, 0, 0))
constexpr Unit Ampere(DUDS_UNIT_VALUE(1, 0, 0, 0, 0, 0, 0, 0, 0))
constexpr Unit Pascal(DUDS_UNIT_VALUE(0, 0, 0, 1, -1, 0, -2, 0, 0))
constexpr Unit Hertz(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 0, -1, 0, 0))
constexpr Unit Kilogram(DUDS_UNIT_VALUE(0, 0, 0, 1, 0, 0, 0, 0, 0))
constexpr Unit Joule(DUDS_UNIT_VALUE(0, 0, 0, 1, 2, 0, -2, 0, 0))
constexpr Unit Siemens(DUDS_UNIT_VALUE(2, 0, 0, -1, -2, 0, 3, 0, 0))
constexpr Unit Sievert(DUDS_UNIT_VALUE(0, 0, 0, 0, 2, 0, -2, 0, 0))
constexpr Unit Gray(DUDS_UNIT_VALUE(0, 0, 0, 0, 2, 0, -2, 0, 0))
constexpr Unit Farad(DUDS_UNIT_VALUE(2, 0, 0, -1, -2, 0, 4, 0, 0))
#define DUDS_UNIT_VALUE(A, cd, K, kg, m, mol, s, rad, sr)
Creates the internal value used by duds::Unit in a way that allows the compiler to generate a constan...
constexpr Unit Mole(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 1, 0, 0, 0))
constexpr Unit Henry(DUDS_UNIT_VALUE(-2, 0, 0, 1, 2, 0, -2, 0, 0))
constexpr Unit Second(DUDS_UNIT_VALUE(0, 0, 0, 0, 0, 0, 1, 0, 0))
constexpr Unit Kelvin(DUDS_UNIT_VALUE(0, 0, 1, 0, 0, 0, 0, 0, 0))