1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 2 // unit/quantity manipulation and conversion 3 // 4 // Copyright (C) 2003-2008 Matthias Christian Schabel 5 // Copyright (C) 2008 Steven Watanabe 6 // 7 // Distributed under the Boost Software License, Version 1.0. (See 8 // accompanying file LICENSE_1_0.txt or copy at 9 // http://www.boost.org/LICENSE_1_0.txt) 10 11 #ifndef BOOST_UNITS_CGS_BASE_HPP 12 #define BOOST_UNITS_CGS_BASE_HPP 13 14 #include <string> 15 16 #include <boost/units/static_constant.hpp> 17 #include <boost/units/unit.hpp> 18 #include <boost/units/make_system.hpp> 19 20 #include <boost/units/base_units/cgs/centimeter.hpp> 21 #include <boost/units/base_units/cgs/gram.hpp> 22 #include <boost/units/base_units/si/second.hpp> 23 #include <boost/units/base_units/cgs/biot.hpp> 24 25 namespace boost { 26 27 namespace units { 28 29 namespace cgs { 30 31 /// placeholder class defining cgs unit system 32 typedef make_system<centimeter_base_unit, 33 gram_base_unit, 34 boost::units::si::second_base_unit, 35 biot_base_unit>::type system; 36 37 /// various unit typedefs for convenience 38 typedef unit<dimensionless_type,system> dimensionless; 39 40 } // namespace cgs 41 42 } // namespace units 43 44 } // namespace boost 45 46 #endif // BOOST_UNITS_CGS_BASE_HPP 47