47 #ifndef OME_COMMON_UNITS_POWER_H 48 #define OME_COMMON_UNITS_POWER_H 50 #include <ome/common/config.h> 51 #include <ome/common/units/types.h> 53 #include <boost/units/unit.hpp> 54 #include <boost/units/quantity.hpp> 55 #include <boost/units/systems/si.hpp> 72 typedef make_scaled_unit<si::power,scale<10,static_rational<-24>>>::type
yoctowatt_unit;
74 typedef make_scaled_unit<si::power,scale<10,static_rational<-21>>>::type
zeptowatt_unit;
76 typedef make_scaled_unit<si::power,scale<10,static_rational<-18>>>::type
attowatt_unit;
78 typedef make_scaled_unit<si::power,scale<10,static_rational<-15>>>::type
femtowatt_unit;
80 typedef make_scaled_unit<si::power,scale<10,static_rational<-12>>>::type
picowatt_unit;
82 typedef make_scaled_unit<si::power,scale<10,static_rational< -9>>>::type
nanowatt_unit;
84 typedef make_scaled_unit<si::power,scale<10,static_rational< -6>>>::type
microwatt_unit;
86 typedef make_scaled_unit<si::power,scale<10,static_rational< -3>>>::type
milliwatt_unit;
88 typedef make_scaled_unit<si::power,scale<10,static_rational< -2>>>::type
centiwatt_unit;
90 typedef make_scaled_unit<si::power,scale<10,static_rational< -1>>>::type
deciwatt_unit;
92 typedef make_scaled_unit<si::power,scale<10,static_rational< 0>>>::type
watt_unit;
94 typedef make_scaled_unit<si::power,scale<10,static_rational< 1>>>::type
dekawatt_unit;
96 typedef make_scaled_unit<si::power,scale<10,static_rational< 1>>>::type
decawatt_unit;
98 typedef make_scaled_unit<si::power,scale<10,static_rational< 2>>>::type
hectowatt_unit;
100 typedef make_scaled_unit<si::power,scale<10,static_rational< 3>>>::type
kilowatt_unit;
102 typedef make_scaled_unit<si::power,scale<10,static_rational< 6>>>::type
megawatt_unit;
104 typedef make_scaled_unit<si::power,scale<10,static_rational< 9>>>::type
gigawatt_unit;
106 typedef make_scaled_unit<si::power,scale<10,static_rational< 12>>>::type
terawatt_unit;
108 typedef make_scaled_unit<si::power,scale<10,static_rational< 15>>>::type
petawatt_unit;
110 typedef make_scaled_unit<si::power,scale<10,static_rational< 18>>>::type
exawatt_unit;
112 typedef make_scaled_unit<si::power,scale<10,static_rational< 21>>>::type
zettawatt_unit;
114 typedef make_scaled_unit<si::power,scale<10,static_rational< 24>>>::type
yottawatt_unit;
255 #endif // OME_COMMON_UNITS_POWER_H make_scaled_unit< si::power, scale< 10, static_rational<-18 > > >::type attowatt_unit
Unit definition for attowatt power.
Definition: power.h:76
BOOST_UNITS_STATIC_CONSTANT(radian, radian_unit)
Numeric constant for radian.
quantity< petawatt_unit > petawatt_quantity
Measured quantity in petawatts.
Definition: power.h:243
quantity< deciwatt_unit > deciwatt_quantity
Measured quantity in deciwatts.
Definition: power.h:225
quantity< picowatt_unit > picowatt_quantity
Measured quantity in picowatts.
Definition: power.h:215
make_scaled_unit< si::power, scale< 10, static_rational< -2 > > >::type centiwatt_unit
Unit definition for centiwatt power.
Definition: power.h:88
make_scaled_unit< si::power, scale< 10, static_rational< 24 > > >::type yottawatt_unit
Unit definition for yottawatt power.
Definition: power.h:114
quantity< nanowatt_unit > nanowatt_quantity
Measured quantity in nanowatts.
Definition: power.h:217
quantity< si::power > power_quantity
Measured quantity (power, watts).
Definition: power.h:69
make_scaled_unit< si::power, scale< 10, static_rational<-15 > > >::type femtowatt_unit
Unit definition for femtowatt power.
Definition: power.h:78
make_scaled_unit< si::power, scale< 10, static_rational< 12 > > >::type terawatt_unit
Unit definition for terawatt power.
Definition: power.h:106
quantity< dekawatt_unit > dekawatt_quantity
Measured quantity in dekawatts.
Definition: power.h:229
make_scaled_unit< si::power, scale< 10, static_rational< -3 > > >::type milliwatt_unit
Unit definition for milliwatt power.
Definition: power.h:86
si::power power_unit
Unit definition for power.
Definition: power.h:67
quantity< kilowatt_unit > kilowatt_quantity
Measured quantity in kilowatts.
Definition: power.h:235
quantity< exawatt_unit > exawatt_quantity
Measured quantity in exawatts.
Definition: power.h:245
quantity< decawatt_unit > decawatt_quantity
Measured quantity in decawatts.
Definition: power.h:231
make_scaled_unit< si::power, scale< 10, static_rational< -9 > > >::type nanowatt_unit
Unit definition for nanowatt power.
Definition: power.h:82
make_scaled_unit< si::power, scale< 10, static_rational< 9 > > >::type gigawatt_unit
Unit definition for gigawatt power.
Definition: power.h:104
make_scaled_unit< si::power, scale< 10, static_rational< 1 > > >::type dekawatt_unit
Unit definition for dekawatt power.
Definition: power.h:94
make_scaled_unit< si::power, scale< 10, static_rational< -6 > > >::type microwatt_unit
Unit definition for microwatt power.
Definition: power.h:84
make_scaled_unit< si::power, scale< 10, static_rational< 21 > > >::type zettawatt_unit
Unit definition for zettawatt power.
Definition: power.h:112
quantity< hectowatt_unit > hectowatt_quantity
Measured quantity in hectowatts.
Definition: power.h:233
Open Microscopy Environment C++.
Definition: base64.h:48
make_scaled_unit< si::power, scale< 10, static_rational< 0 > > >::type watt_unit
Unit definition for watt power.
Definition: power.h:92
quantity< zeptowatt_unit > zeptowatt_quantity
Measured quantity in zeptowatts.
Definition: power.h:209
quantity< watt_unit > watt_quantity
Measured quantity in watts.
Definition: power.h:227
make_scaled_unit< si::power, scale< 10, static_rational< 2 > > >::type hectowatt_unit
Unit definition for hectowatt power.
Definition: power.h:98
make_scaled_unit< si::power, scale< 10, static_rational< 6 > > >::type megawatt_unit
Unit definition for megawatt power.
Definition: power.h:102
quantity< yottawatt_unit > yottawatt_quantity
Measured quantity in yottawatts.
Definition: power.h:249
quantity< femtowatt_unit > femtowatt_quantity
Measured quantity in femtowatts.
Definition: power.h:213
quantity< zettawatt_unit > zettawatt_quantity
Measured quantity in zettawatts.
Definition: power.h:247
quantity< megawatt_unit > megawatt_quantity
Measured quantity in megawatts.
Definition: power.h:237
make_scaled_unit< si::power, scale< 10, static_rational<-12 > > >::type picowatt_unit
Unit definition for picowatt power.
Definition: power.h:80
make_scaled_unit< si::power, scale< 10, static_rational< 1 > > >::type decawatt_unit
Unit definition for decawatt power.
Definition: power.h:96
quantity< yoctowatt_unit > yoctowatt_quantity
Measured quantity in yoctowatts.
Definition: power.h:207
make_scaled_unit< si::power, scale< 10, static_rational<-21 > > >::type zeptowatt_unit
Unit definition for zeptowatt power.
Definition: power.h:74
quantity< milliwatt_unit > milliwatt_quantity
Measured quantity in milliwatts.
Definition: power.h:221
make_scaled_unit< si::power, scale< 10, static_rational< 15 > > >::type petawatt_unit
Unit definition for petawatt power.
Definition: power.h:108
make_scaled_unit< si::power, scale< 10, static_rational< 3 > > >::type kilowatt_unit
Unit definition for kilowatt power.
Definition: power.h:100
quantity< centiwatt_unit > centiwatt_quantity
Measured quantity in centiwatts.
Definition: power.h:223
quantity< attowatt_unit > attowatt_quantity
Measured quantity in attowatts.
Definition: power.h:211
make_scaled_unit< si::power, scale< 10, static_rational< -1 > > >::type deciwatt_unit
Unit definition for deciwatt power.
Definition: power.h:90
make_scaled_unit< si::power, scale< 10, static_rational< 18 > > >::type exawatt_unit
Unit definition for exawatt power.
Definition: power.h:110
quantity< microwatt_unit > microwatt_quantity
Measured quantity in microwatts.
Definition: power.h:219
quantity< gigawatt_unit > gigawatt_quantity
Measured quantity in gigawatts.
Definition: power.h:239
quantity< terawatt_unit > terawatt_quantity
Measured quantity in terawatts.
Definition: power.h:241
make_scaled_unit< si::power, scale< 10, static_rational<-24 > > >::type yoctowatt_unit
Unit definition for yoctowatt power.
Definition: power.h:72