File indexing completed on 2025-01-18 09:53:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UNITS_SI_PRESSURE_HPP
0012 #define BOOST_UNITS_SI_PRESSURE_HPP
0013
0014 #include <boost/units/systems/si/base.hpp>
0015 #include <boost/units/physical_dimensions/pressure.hpp>
0016
0017 namespace boost {
0018
0019 namespace units {
0020
0021 namespace si {
0022
0023 typedef unit<pressure_dimension,si::system> pressure;
0024
0025
0026 #if defined(__MWERKS__)
0027 #if !__option(only_std_keywords)
0028 #define BOOST_UNITS_NO_PASCAL 1
0029 #elif defined(pascal)
0030 #define BOOST_UNITS_NO_PASCAL 1
0031 #endif
0032 #elif defined(pascal)
0033 #define BOOST_UNITS_NO_PASCAL 1
0034 #elif BOOST_MSVC
0035 #define BOOST_UNITS_NO_PASCAL 1
0036 #endif
0037
0038 #ifndef BOOST_UNITS_NO_PASCAL
0039 BOOST_UNITS_STATIC_CONSTANT(pascal,pressure);
0040 #endif
0041 BOOST_UNITS_STATIC_CONSTANT(pascals,pressure);
0042
0043 }
0044
0045 }
0046
0047 }
0048
0049 #endif