47 #ifndef OME_COMMON_UNITS_ELECTRIC_POTENTIAL_H 48 #define OME_COMMON_UNITS_ELECTRIC_POTENTIAL_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::electric_potential,scale<10,static_rational<-24>>>::type
yoctovolt_unit;
74 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational<-21>>>::type
zeptovolt_unit;
76 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational<-18>>>::type
attovolt_unit;
78 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational<-15>>>::type
femtovolt_unit;
80 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational<-12>>>::type
picovolt_unit;
82 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< -9>>>::type
nanovolt_unit;
84 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< -6>>>::type
microvolt_unit;
86 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< -3>>>::type
millivolt_unit;
88 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< -2>>>::type
centivolt_unit;
90 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< -1>>>::type
decivolt_unit;
92 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 0>>>::type
volt_unit;
94 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 1>>>::type
dekavolt_unit;
96 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 1>>>::type
decavolt_unit;
98 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 2>>>::type
hectovolt_unit;
100 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 3>>>::type
kilovolt_unit;
102 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 6>>>::type
megavolt_unit;
104 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 9>>>::type
gigavolt_unit;
106 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 12>>>::type
teravolt_unit;
108 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 15>>>::type
petavolt_unit;
110 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 18>>>::type
exavolt_unit;
112 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 21>>>::type
zettavolt_unit;
114 typedef make_scaled_unit<si::electric_potential,scale<10,static_rational< 24>>>::type
yottavolt_unit;
255 #endif // OME_COMMON_UNITS_ELECTRIC_POTENTIAL_H make_scaled_unit< si::electric_potential, scale< 10, static_rational<-12 > > >::type picovolt_unit
Unit definition for picovolt electric potential.
Definition: electric-potential.h:80
BOOST_UNITS_STATIC_CONSTANT(radian, radian_unit)
Numeric constant for radian.
quantity< petavolt_unit > petavolt_quantity
Measured quantity in petavolts.
Definition: electric-potential.h:243
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 9 > > >::type gigavolt_unit
Unit definition for gigavolt electric potential.
Definition: electric-potential.h:104
make_scaled_unit< si::electric_potential, scale< 10, static_rational<-15 > > >::type femtovolt_unit
Unit definition for femtovolt electric potential.
Definition: electric-potential.h:78
quantity< megavolt_unit > megavolt_quantity
Measured quantity in megavolts.
Definition: electric-potential.h:237
quantity< volt_unit > volt_quantity
Measured quantity in volts.
Definition: electric-potential.h:227
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 1 > > >::type decavolt_unit
Unit definition for decavolt electric potential.
Definition: electric-potential.h:96
quantity< millivolt_unit > millivolt_quantity
Measured quantity in millivolts.
Definition: electric-potential.h:221
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 12 > > >::type teravolt_unit
Unit definition for teravolt electric potential.
Definition: electric-potential.h:106
quantity< yottavolt_unit > yottavolt_quantity
Measured quantity in yottavolts.
Definition: electric-potential.h:249
quantity< zettavolt_unit > zettavolt_quantity
Measured quantity in zettavolts.
Definition: electric-potential.h:247
quantity< centivolt_unit > centivolt_quantity
Measured quantity in centivolts.
Definition: electric-potential.h:223
quantity< dekavolt_unit > dekavolt_quantity
Measured quantity in dekavolts.
Definition: electric-potential.h:229
quantity< decivolt_unit > decivolt_quantity
Measured quantity in decivolts.
Definition: electric-potential.h:225
make_scaled_unit< si::electric_potential, scale< 10, static_rational<-21 > > >::type zeptovolt_unit
Unit definition for zeptovolt electric potential.
Definition: electric-potential.h:74
quantity< kilovolt_unit > kilovolt_quantity
Measured quantity in kilovolts.
Definition: electric-potential.h:235
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 24 > > >::type yottavolt_unit
Unit definition for yottavolt electric potential.
Definition: electric-potential.h:114
quantity< femtovolt_unit > femtovolt_quantity
Measured quantity in femtovolts.
Definition: electric-potential.h:213
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 0 > > >::type volt_unit
Unit definition for volt electric potential.
Definition: electric-potential.h:92
make_scaled_unit< si::electric_potential, scale< 10, static_rational<-24 > > >::type yoctovolt_unit
Unit definition for yoctovolt electric potential.
Definition: electric-potential.h:72
make_scaled_unit< si::electric_potential, scale< 10, static_rational< -2 > > >::type centivolt_unit
Unit definition for centivolt electric potential.
Definition: electric-potential.h:88
quantity< hectovolt_unit > hectovolt_quantity
Measured quantity in hectovolts.
Definition: electric-potential.h:233
quantity< gigavolt_unit > gigavolt_quantity
Measured quantity in gigavolts.
Definition: electric-potential.h:239
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 6 > > >::type megavolt_unit
Unit definition for megavolt electric potential.
Definition: electric-potential.h:102
quantity< picovolt_unit > picovolt_quantity
Measured quantity in picovolts.
Definition: electric-potential.h:215
Open Microscopy Environment C++.
Definition: base64.h:48
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 15 > > >::type petavolt_unit
Unit definition for petavolt electric potential.
Definition: electric-potential.h:108
quantity< microvolt_unit > microvolt_quantity
Measured quantity in microvolts.
Definition: electric-potential.h:219
quantity< nanovolt_unit > nanovolt_quantity
Measured quantity in nanovolts.
Definition: electric-potential.h:217
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 1 > > >::type dekavolt_unit
Unit definition for dekavolt electric potential.
Definition: electric-potential.h:94
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 2 > > >::type hectovolt_unit
Unit definition for hectovolt electric potential.
Definition: electric-potential.h:98
si::electric_potential electric_potential_unit
Unit definition for electric potential.
Definition: electric-potential.h:67
quantity< yoctovolt_unit > yoctovolt_quantity
Measured quantity in yoctovolts.
Definition: electric-potential.h:207
make_scaled_unit< si::electric_potential, scale< 10, static_rational< -6 > > >::type microvolt_unit
Unit definition for microvolt electric potential.
Definition: electric-potential.h:84
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 3 > > >::type kilovolt_unit
Unit definition for kilovolt electric potential.
Definition: electric-potential.h:100
quantity< attovolt_unit > attovolt_quantity
Measured quantity in attovolts.
Definition: electric-potential.h:211
quantity< decavolt_unit > decavolt_quantity
Measured quantity in decavolts.
Definition: electric-potential.h:231
make_scaled_unit< si::electric_potential, scale< 10, static_rational<-18 > > >::type attovolt_unit
Unit definition for attovolt electric potential.
Definition: electric-potential.h:76
quantity< zeptovolt_unit > zeptovolt_quantity
Measured quantity in zeptovolts.
Definition: electric-potential.h:209
quantity< si::electric_potential > electric_potential_quantity
Measured quantity (electric potential, volts).
Definition: electric-potential.h:69
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 21 > > >::type zettavolt_unit
Unit definition for zettavolt electric potential.
Definition: electric-potential.h:112
make_scaled_unit< si::electric_potential, scale< 10, static_rational< -9 > > >::type nanovolt_unit
Unit definition for nanovolt electric potential.
Definition: electric-potential.h:82
make_scaled_unit< si::electric_potential, scale< 10, static_rational< -1 > > >::type decivolt_unit
Unit definition for decivolt electric potential.
Definition: electric-potential.h:90
quantity< teravolt_unit > teravolt_quantity
Measured quantity in teravolts.
Definition: electric-potential.h:241
make_scaled_unit< si::electric_potential, scale< 10, static_rational< -3 > > >::type millivolt_unit
Unit definition for millivolt electric potential.
Definition: electric-potential.h:86
quantity< exavolt_unit > exavolt_quantity
Measured quantity in exavolts.
Definition: electric-potential.h:245
make_scaled_unit< si::electric_potential, scale< 10, static_rational< 18 > > >::type exavolt_unit
Unit definition for exavolt electric potential.
Definition: electric-potential.h:110