Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:10:34

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_UNITS_FWD_HPP
0012 #define BOOST_UNITS_UNITS_FWD_HPP
0013 
0014 ///
0015 /// \file
0016 /// \brief Forward declarations of library components.
0017 /// \details Forward declarations of units library - dimensions, systems, quantity and string components.
0018 ///
0019 
0020 #ifndef BOOST_UNITS_DOXYGEN
0021 
0022 #include <string>
0023 
0024 namespace boost {
0025 
0026 namespace units {
0027 
0028 template<typename T,typename V> struct dim;
0029 template<typename T> struct is_dim;
0030 
0031 struct dimensionless_type;
0032 template<class Item,class Next> struct list;
0033 template<typename Seq> struct make_dimension_list;
0034 
0035 template<class T> struct is_dimensionless;
0036 template<class S1,class S2> struct is_implicitly_convertible;
0037 template<class T> struct get_dimension;
0038 template<class T> struct get_system;
0039 
0040 template<class Y> class absolute;
0041 
0042 template<class Dim,class System, class Enable=void> class unit;
0043 
0044 template<long Base, class Exponent> struct scale;
0045 
0046 template<class BaseUnitTag> struct base_unit_info;
0047 template<class System> struct dimensionless_unit;
0048 template<class T> struct is_unit;
0049 template<class T,class Dim> struct is_unit_of_dimension;
0050 template<class T,class System> struct is_unit_of_system;
0051 
0052 template<class Unit,class Y = double> class quantity;
0053 
0054 template<class System,class Y> struct dimensionless_quantity;
0055 template<class T> struct is_quantity;
0056 template<class T,class Dim> struct is_quantity_of_dimension;
0057 template<class T,class System> struct is_quantity_of_system;
0058 
0059 template<class From,class To> struct conversion_helper;
0060 
0061 template<class T> std::string to_string(const T&);
0062 template<class T> std::string name_string(const T&);
0063 template<class T> std::string symbol_string(const T&);
0064 template<class T> std::string raw_string(const T&);
0065 template<class T> std::string typename_string(const T&);
0066 
0067 } // namespace units
0068 
0069 } // namespace boost
0070 
0071 #endif
0072 
0073 #endif // BOOST_UNITS_UNITS_FWD_HPP