Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:15

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_SI_BASE_HPP
0012 #define BOOST_UNITS_SI_BASE_HPP
0013 
0014 #include <string>
0015 
0016 #include <boost/units/static_constant.hpp>
0017 #include <boost/units/unit.hpp>
0018 #include <boost/units/make_system.hpp>
0019 
0020 #include <boost/units/base_units/si/meter.hpp>
0021 #include <boost/units/base_units/si/kilogram.hpp>
0022 #include <boost/units/base_units/si/second.hpp>
0023 #include <boost/units/base_units/si/ampere.hpp>
0024 #include <boost/units/base_units/si/kelvin.hpp>
0025 #include <boost/units/base_units/si/mole.hpp>
0026 #include <boost/units/base_units/si/candela.hpp>
0027 #include <boost/units/base_units/angle/radian.hpp>
0028 #include <boost/units/base_units/angle/steradian.hpp>
0029 
0030 namespace boost {
0031 
0032 namespace units { 
0033 
0034 namespace si {
0035 
0036 /// placeholder class defining si unit system
0037 typedef make_system<meter_base_unit, 
0038                     kilogram_base_unit, 
0039                     second_base_unit, 
0040                     ampere_base_unit,
0041                     kelvin_base_unit,
0042                     mole_base_unit,
0043                     candela_base_unit,
0044                     angle::radian_base_unit,
0045                     angle::steradian_base_unit>::type system;
0046 
0047 /// dimensionless si unit
0048 typedef unit<dimensionless_type,system>         dimensionless;
0049 
0050 } // namespace si
0051 
0052 } // namespace units
0053 
0054 } // namespace boost
0055 
0056 #endif // BOOST_UNITS_SI_BASE_HPP