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_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 // windef.h #defines pascal on Metrowerks compilers
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 } // namespace si
0044 
0045 } // namespace units
0046 
0047 } // namespace boost
0048 
0049 #endif // BOOST_UNITS_SI_PRESSURE_HPP