Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/units/base_units/angle/steradian.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and |
Chris@16 | 2 // unit/quantity manipulation and conversion |
Chris@16 | 3 // |
Chris@16 | 4 // Copyright (C) 2003-2008 Matthias Christian Schabel |
Chris@16 | 5 // Copyright (C) 2007-2008 Steven Watanabe |
Chris@16 | 6 // |
Chris@16 | 7 // Distributed under the Boost Software License, Version 1.0. (See |
Chris@16 | 8 // accompanying file LICENSE_1_0.txt or copy at |
Chris@16 | 9 // http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 10 |
Chris@16 | 11 #ifndef BOOST_UNITS_ANGLE_STERADIAN_BASE_UNIT_HPP |
Chris@16 | 12 #define BOOST_UNITS_ANGLE_STERADIAN_BASE_UNIT_HPP |
Chris@16 | 13 |
Chris@16 | 14 #include <string> |
Chris@16 | 15 |
Chris@16 | 16 #include <boost/units/config.hpp> |
Chris@16 | 17 #include <boost/units/base_unit.hpp> |
Chris@16 | 18 #include <boost/units/physical_dimensions/solid_angle.hpp> |
Chris@16 | 19 |
Chris@16 | 20 namespace boost { |
Chris@16 | 21 |
Chris@16 | 22 namespace units { |
Chris@16 | 23 |
Chris@16 | 24 namespace angle { |
Chris@16 | 25 |
Chris@16 | 26 struct steradian_base_unit : public base_unit<steradian_base_unit, solid_angle_dimension, -1> |
Chris@16 | 27 { |
Chris@16 | 28 static std::string name() { return("steradian"); } |
Chris@16 | 29 static std::string symbol() { return("sr"); } |
Chris@16 | 30 }; |
Chris@16 | 31 |
Chris@16 | 32 } // namespace angle |
Chris@16 | 33 |
Chris@16 | 34 } // namespace units |
Chris@16 | 35 |
Chris@16 | 36 } // namespace boost |
Chris@16 | 37 |
Chris@16 | 38 #if BOOST_UNITS_HAS_BOOST_TYPEOF |
Chris@16 | 39 |
Chris@16 | 40 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() |
Chris@16 | 41 |
Chris@16 | 42 BOOST_TYPEOF_REGISTER_TYPE(boost::units::angle::steradian_base_unit) |
Chris@16 | 43 |
Chris@16 | 44 #endif |
Chris@16 | 45 |
Chris@16 | 46 //#include <boost/units/base_units/angle/conversions.hpp> |
Chris@16 | 47 |
Chris@16 | 48 #endif // BOOST_UNITS_ANGLE_STERADIAN_BASE_UNIT_HPP |