Localization library
Материал из cppreference.com
< cpp
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Локали объект включает в себя поддержку интернационализации для классификации символов и строк сортировки, числовые, денежные, и дата / время форматирования и разбора, и получения сообщений. Язык параметры управляют поведением потока ввода / вывода, библиотека регулярных выражений, а также других компонентов C + + стандартная библиотека.
Original:
The locale facility includes internationalization support for character classification and string collation, numeric, monetary, and date/time formatting and parsing, and message retrieval. Locale settings control the behavior of stream I/O, regular expression library, and other components of the C++ standard library.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[править] Языки
| Определено в файле <locale>
| |
Original: Locales and facets The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| Набор полиморфных аспекты, которые инкапсулируют культурные различия Original: set of polymorphic facets that encapsulate cultural differences The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
| получает аспект от локали Original: obtains a facet from a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли язык реализует определенный аспект Original: checks if a locale implements a specific facet The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
Original: Character classification The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| проверяет, является ли символ классифицируется как пробелы на местности Original: checks if a character is classified as whitespace by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| (C++11) |
checks if a character is classified as a blank character by a locale (шаблон функции) |
| проверяет, является ли символ классифицируется как символ управления по локали Original: checks if a character is classified as a control character by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как прописные на местности Original: checks if a character is classified as uppercase by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как строчными на местности Original: checks if a character is classified as lowercase by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как алфавитном на местности Original: checks if a character is classified as alphabetic by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как цифры на местности Original: checks if a character is classified as a digit by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как знаки препинания на местности Original: checks if a character is classified as punctuation by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как шестнадцатеричная цифра на местности Original: checks if a character is classified as a hexadecimal digit by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как алфавитно-цифровой на местности Original: checks if a character is classified as alphanumeric by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ классифицируется как для печати на местности Original: checks if a character is classified as printable by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| проверяет, является ли символ classfied как графические на местности Original: checks if a character is classfied as graphical by a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
Original: Character conversions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| преобразует символ в верхний регистр помощью CType аспект языка Original: converts a character to uppercase using the ctype facet of a locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон функции) | |
| converts a character to lowercase using the ctype facet of a locale (шаблон функции) | |
Original: String and stream conversions The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| (C++11) |
выполняет преобразование между широкий строка и строка байтов Original: performs conversions between a wide string and a byte string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) |
| (C++11) |
выполняет преобразование между байтный буфер потока и широкий буфер потока Original: performs conversion between a byte stream buffer and a wide stream buffer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) |
Original: Facet category base classes The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| определяет категории классификации символов Original: defines character classification categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
| определяет ошибки преобразования символов Original: defines character conversion errors The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
| определяет тип сообщения каталоге Original: defines messages catalog type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
| определяет константы формата даты Original: defines date format constants The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
| определяет денежно шаблоны форматирования Original: defines monetary formatting patterns The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |
Original: Facet categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| определяет таблицы символов классификации Original: defines character classification tables The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| Специализация std::ctype типа char Original: specialization of std::ctype for type char The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (специализация шаблона класса) | |
| новообращенные между кодировками, в том числе UTF-8, UTF-16, UTF-32 Original: converts between character encodings, including UTF-8, UTF-16, UTF-32 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| определяет лексикографическое сравнение и хэширования строк Original: defines lexicographical comparison and hashing of strings The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| реализует извлечение строк из сообщения каталоги Original: implements retrieval of strings from message catalogs The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| анализирует дату / время значения из входной последовательности символов в struct std::tm Original: parses time/date values from an input character sequence into struct std::tm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| Форматы содержание struct std::tm для вывода как последовательности символов Original: formats contents of struct std::tm for output as character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| parses numeric values from an input character sequence (шаблон класса) | |
| Форматы числовых значений для вывода как последовательности символов Original: formats numeric values for output as character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| определяет числовой правил пунктуации Original: defines numeric punctuation rules The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| анализирует и строит в денежном выражении от последовательности ввода символов Original: parses and constructs a monetary value from an input character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| Форматы денежную стоимость выводится в виде последовательности символов Original: formats a monetary value for output as a character sequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| определяет денежно параметров форматирования используется std::money_get и std::money_put Original: defines monetary formatting parameters used by std::money_get and std::money_put The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
Original: Locale-specific facet categories The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
| представляет собой систему поставляемых std::ctype для указанного языка Original: represents the system-supplied std::ctype for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::ctype<char> для указанного языка Original: represents the system-supplied std::ctype<char> for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (специализация шаблона класса) | |
| представляет собой систему поставляемых std::codecvt для указанного языка Original: represents the system-supplied std::codecvt for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::messages для указанного языка Original: represents the system-supplied std::messages for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::collate для указанного языка Original: represents the system-supplied std::collate for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::time_get для указанного языка Original: represents the system-supplied std::time_get for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::time_put для указанного языка Original: represents the system-supplied std::time_put for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::numpunct для указанного языка Original: represents the system-supplied std::numpunct for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
| представляет собой систему поставляемых std::moneypunct для указанного языка Original: represents the system-supplied std::moneypunct for the named locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) | |
[править] Язык независимых Unicode аспекты преобразования
| Определено в файле <codecvt>
| |
| (C++11) |
преобразования между UTF-8 и UCS2/UCS4 Original: converts between UTF-8 and UCS2/UCS4 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) |
| (C++11) |
преобразования между UTF-16 и UCS2/UCS4 Original: converts between UTF-16 and UCS2/UCS4 The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) |
| (C++11) |
converts between UTF-8 and UTF-16 (шаблон класса) |
| (C++11) |
тегами, чтобы изменить поведение стандартных аспектов codecvt Original: tags to alter behavior of the standard codecvt facets The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) |
[править] C библиотеки регионов
| Определено в файле <clocale>
| |
| получает и устанавливает текущий стандарт C Original: gets and sets the current C locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| локали категории std::setlocale Original: locale categories for std::setlocale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (константа-макрос) | |
| запрашивает числовые и денежные форматирования детали текущей локали Original: queries numeric and monetary formatting details of the current locale The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (функция) | |
| Форматирование детали, возвращаемые std::localeconv Original: formatting details, returned by std::localeconv The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) | |