aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/libs/locale/src/std/all_generator.hpp
blob: d79525b71bce2de9c589e9e5eb4019da075608de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
//  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
//  Distributed under the Boost Software License, Version 1.0. (See
//  accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_LOCALE_IMPL_STD_ALL_GENERATOR_HPP
#define BOOST_LOCALE_IMPL_STD_ALL_GENERATOR_HPP

#include <boost/locale/generator.hpp>
#include <vector>

namespace boost {
    namespace locale {
        namespace impl_std {
            typedef enum {
                utf8_none,
                utf8_native,
                utf8_native_with_wide,
                utf8_from_wide
            } utf8_support;

            std::locale create_convert( std::locale const &in,
                                        std::string const &locale_name,
                                        character_facet_type type,
                                        utf8_support utf = utf8_none);

            std::locale create_collate( std::locale const &in,
                                        std::string const &locale_name,
                                        character_facet_type type,
                                        utf8_support utf = utf8_none);

            std::locale create_formatting(  std::locale const &in,
                                            std::string const &locale_name,
                                            character_facet_type type,
                                            utf8_support utf = utf8_none);

            std::locale create_parsing( std::locale const &in,
                                        std::string const &locale_name,
                                        character_facet_type type,
                                        utf8_support utf = utf8_none);

            std::locale create_codecvt( std::locale const &in,
                                        std::string const &locale_name,
                                        character_facet_type type,
                                        utf8_support utf = utf8_none); 

        }
    }
}

#endif
// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4