parameters.hpp 1.1 KB

123456789101112131415161718192021222324252627282930
  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. #ifndef BOOST_CONVERT_PARAMETERS_HPP
  5. #define BOOST_CONVERT_PARAMETERS_HPP
  6. #include <boost/parameter/name.hpp>
  7. namespace boost { namespace cnv
  8. {
  9. enum class adjust { left, right, center };
  10. enum class base { bin =2, oct =8, dec =10, hex =16 };
  11. enum class notation { fixed, scientific };
  12. namespace parameter
  13. {
  14. BOOST_PARAMETER_NAME(( adjust, type) adjust)
  15. BOOST_PARAMETER_NAME(( base, type) base)
  16. BOOST_PARAMETER_NAME(( fill, type) fill)
  17. BOOST_PARAMETER_NAME(( locale, type) locale)
  18. BOOST_PARAMETER_NAME(( notation, type) notation)
  19. BOOST_PARAMETER_NAME((precision, type) precision)
  20. BOOST_PARAMETER_NAME(( skipws, type) skipws)
  21. BOOST_PARAMETER_NAME((uppercase, type) uppercase)
  22. BOOST_PARAMETER_NAME(( width, type) width)
  23. }
  24. }}
  25. #endif // BOOST_CONVERT_PARAMETERS_HPP