Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef BRICS_OODL_UNITS_HPP
00009 #define BRICS_OODL_UNITS_HPP
00010 #include <boost/units/pow.hpp>
00011 #include <boost/units/systems/si.hpp>
00012 #include <boost/units/systems/temperature/celsius.hpp>
00013 #include <boost/units/cmath.hpp>
00014 #include <boost/units/make_scaled_unit.hpp>
00015 #include <boost/units/systems/si/prefixes.hpp>
00016
00017
00018 using namespace boost::units;
00019 using namespace boost::units::si;
00020 using namespace boost::units::angle;
00021
00022
00023 using boost::units::si::meters;
00024
00025
00026 typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-3> > >::type millimeter;
00027 typedef boost::units::make_scaled_unit<si::length, boost::units::scale<10, boost::units::static_rational<-2> > >::type centimeter;
00028 BOOST_UNITS_STATIC_CONSTANT(centimeters, centimeter);
00029
00030
00031 typedef boost::units::make_scaled_unit<si::time, boost::units::scale<10, boost::units::static_rational<-3> > >::type millisecond;
00032
00033
00034 #endif
00035