• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 //  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
3 //
4 //  Distributed under the Boost Software License, Version 1.0. (See
5 //  accompanying file LICENSE_1_0.txt or copy at
6 //  http://www.boost.org/LICENSE_1_0.txt)
7 //
8 #ifndef BOOST_LOCALE_IMPL_STD_ALL_GENERATOR_HPP
9 #define BOOST_LOCALE_IMPL_STD_ALL_GENERATOR_HPP
10 
11 #include <boost/locale/generator.hpp>
12 #include <vector>
13 
14 namespace boost {
15     namespace locale {
16         namespace impl_std {
17             typedef enum {
18                 utf8_none,
19                 utf8_native,
20                 utf8_native_with_wide,
21                 utf8_from_wide
22             } utf8_support;
23 
24             std::locale create_convert( std::locale const &in,
25                                         std::string const &locale_name,
26                                         character_facet_type type,
27                                         utf8_support utf = utf8_none);
28 
29             std::locale create_collate( std::locale const &in,
30                                         std::string const &locale_name,
31                                         character_facet_type type,
32                                         utf8_support utf = utf8_none);
33 
34             std::locale create_formatting(  std::locale const &in,
35                                             std::string const &locale_name,
36                                             character_facet_type type,
37                                             utf8_support utf = utf8_none);
38 
39             std::locale create_parsing( std::locale const &in,
40                                         std::string const &locale_name,
41                                         character_facet_type type,
42                                         utf8_support utf = utf8_none);
43 
44             std::locale create_codecvt( std::locale const &in,
45                                         std::string const &locale_name,
46                                         character_facet_type type,
47                                         utf8_support utf = utf8_none);
48 
49         }
50     }
51 }
52 
53 #endif
54 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
55