/
zOMGdev
/
cppcms
Обзор
Документация
Войти
/
zOMGdev
/
cppcms
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
booster/lib/locale/src/std/all_generator.h
54 строки
2 KB
Artyom Beilis
Line up with Boost.Locale
27 фев 2011, 00:51
27 фев 2011, 00:51
dd27fe3
Код
Авторство
О чём код?
// // 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 BOOSTER_LOCALE_IMPL_STD_ALL_GENERATOR_HPP #define BOOSTER_LOCALE_IMPL_STD_ALL_GENERATOR_HPP #include <booster/locale/generator.h> #include <vector> namespace booster { 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