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>    67       typedef si::electric_potential electric_potential_unit;
    69       typedef quantity<si::electric_potential> electric_potential_quantity;
    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;
   207       typedef quantity<yoctovolt_unit> yoctovolt_quantity;
   209       typedef quantity<zeptovolt_unit> zeptovolt_quantity;
   211       typedef quantity<attovolt_unit> attovolt_quantity;
   213       typedef quantity<femtovolt_unit> femtovolt_quantity;
   215       typedef quantity<picovolt_unit> picovolt_quantity;
   217       typedef quantity<nanovolt_unit> nanovolt_quantity;
   219       typedef quantity<microvolt_unit> microvolt_quantity;
   221       typedef quantity<millivolt_unit> millivolt_quantity;
   223       typedef quantity<centivolt_unit> centivolt_quantity;
   225       typedef quantity<decivolt_unit> decivolt_quantity;
   227       typedef quantity<volt_unit> volt_quantity;
   229       typedef quantity<dekavolt_unit> dekavolt_quantity;
   231       typedef quantity<decavolt_unit> decavolt_quantity;
   233       typedef quantity<hectovolt_unit> hectovolt_quantity;
   235       typedef quantity<kilovolt_unit> kilovolt_quantity;
   237       typedef quantity<megavolt_unit> megavolt_quantity;
   239       typedef quantity<gigavolt_unit> gigavolt_quantity;
   241       typedef quantity<teravolt_unit> teravolt_quantity;
   243       typedef quantity<petavolt_unit> petavolt_quantity;
   245       typedef quantity<exavolt_unit> exavolt_quantity;
   247       typedef quantity<zettavolt_unit> zettavolt_quantity;
   249       typedef quantity<yottavolt_unit> yottavolt_quantity;
   255 #endif // OME_COMMON_UNITS_ELECTRIC_POTENTIAL_H 
BOOST_UNITS_STATIC_CONSTANT(radian, radian_unit)
Numeric constant for radian.