1 // Copyright (c) 2009-2016 Vladimir Batov. 2 // Use, modification and distribution are subject to the Boost Software License, 3 // Version 1.0. See http://www.boost.org/LICENSE_1_0.txt. 4 5 #ifndef BOOST_CONVERT_PARAMETERS_HPP 6 #define BOOST_CONVERT_PARAMETERS_HPP 7 8 #include <boost/parameter/name.hpp> 9 10 namespace boost { namespace cnv 11 { 12 enum class adjust { left, right, center }; 13 enum class base { bin =2, oct =8, dec =10, hex =16 }; 14 enum class notation { fixed, scientific }; 15 16 namespace parameter 17 { 18 BOOST_PARAMETER_NAME(( adjust, type) adjust) 19 BOOST_PARAMETER_NAME(( base, type) base) 20 BOOST_PARAMETER_NAME(( fill, type) fill) 21 BOOST_PARAMETER_NAME(( locale, type) locale) 22 BOOST_PARAMETER_NAME(( notation, type) notation) 23 BOOST_PARAMETER_NAME((precision, type) precision) 24 BOOST_PARAMETER_NAME(( skipws, type) skipws) 25 BOOST_PARAMETER_NAME((uppercase, type) uppercase) 26 BOOST_PARAMETER_NAME(( width, type) width) 27 } 28 }} 29 30 #endif // BOOST_CONVERT_PARAMETERS_HPP 31