Yerellestirme kitapligi
cppreference.com sitesinden
< cpp
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.
Konu başlıkları |
[düzenle] Locales
Defined in header
<locale> | |
Locales and facets | |
set of polymorphic facets that encapsulate cultural differences (sınıf) | |
obtains a facet from a locale (fonksiyon şablonu) | |
checks if a locale implements a specific facet (fonksiyon şablonu) | |
Character classification | |
checks if a character is classified as whitespace by a locale (fonksiyon şablonu) | |
(C++11) |
checks if a character is classified as a blank character by a locale (fonksiyon şablonu) |
checks if a character is classified as a control character by a locale (fonksiyon şablonu) | |
checks if a character is classified as uppercase by a locale (fonksiyon şablonu) | |
checks if a character is classified as lowercase by a locale (fonksiyon şablonu) | |
checks if a character is classified as alphabetic by a locale (fonksiyon şablonu) | |
checks if a character is classified as a digit by a locale (fonksiyon şablonu) | |
checks if a character is classified as punctuation by a locale (fonksiyon şablonu) | |
checks if a character is classified as a hexadecimal digit by a locale (fonksiyon şablonu) | |
checks if a character is classified as alphanumeric by a locale (fonksiyon şablonu) | |
checks if a character is classified as printable by a locale (fonksiyon şablonu) | |
checks if a character is classfied as graphical by a locale (fonksiyon şablonu) | |
Character conversions | |
converts a character to uppercase using the ctype facet of a locale (fonksiyon şablonu) | |
converts a character to lowercase using the ctype facet of a locale (fonksiyon şablonu) | |
String and stream conversions | |
(C++11) |
performs conversions between a wide string and a byte string (sınıf şablonu) |
(C++11) |
performs conversion between a byte stream buffer and a wide stream buffer (sınıf şablonu) |
Facet category base classes | |
defines character classification categories (sınıf) | |
defines character conversion errors (sınıf) | |
defines messages catalog type (sınıf) | |
defines date format constants (sınıf) | |
defines monetary formatting patterns (sınıf) | |
Facet categories | |
defines character classification tables (sınıf şablonu) | |
specialization of std::ctype for type char (sınıf şablonu özelleştirmesi) | |
converts between character encodings, including UTF-8, UTF-16, UTF-32 (sınıf şablonu) | |
defines lexicographical comparison and hashing of strings (sınıf şablonu) | |
implements retrieval of strings from message catalogs (sınıf şablonu) | |
parses time/date values from an input character sequence into struct std::tm (sınıf şablonu) | |
formats contents of struct std::tm for output as character sequence (sınıf şablonu) | |
parses numeric values from an input character sequence (sınıf şablonu) | |
formats numeric values for output as character sequence (sınıf şablonu) | |
defines numeric punctuation rules (sınıf şablonu) | |
parses and constructs a monetary value from an input character sequence (sınıf şablonu) | |
formats a monetary value for output as a character sequence (sınıf şablonu) | |
defines monetary formatting parameters used by std::money_get and std::money_put (sınıf şablonu) | |
Locale-specific facet categories | |
represents the system-supplied std::ctype for the named locale (sınıf şablonu) | |
represents the system-supplied std::ctype<char> for the named locale (sınıf şablonu özelleştirmesi) | |
represents the system-supplied std::codecvt for the named locale (sınıf şablonu) | |
represents the system-supplied std::messages for the named locale (sınıf şablonu) | |
represents the system-supplied std::collate for the named locale (sınıf şablonu) | |
represents the system-supplied std::time_get for the named locale (sınıf şablonu) | |
represents the system-supplied std::time_put for the named locale (sınıf şablonu) | |
represents the system-supplied std::numpunct for the named locale (sınıf şablonu) | |
represents the system-supplied std::moneypunct for the named locale (sınıf şablonu) |
[düzenle] Locale-independent unicode conversion facets
Defined in header
<codecvt> | |
(C++11) |
converts between UTF-8 and UCS2/UCS4 (sınıf şablonu) |
(C++11) |
converts between UTF-16 and UCS2/UCS4 (sınıf şablonu) |
(C++11) |
converts between UTF-8 and UTF-16 (sınıf şablonu) |
[düzenle] C kitapligi yerellestirme
Defined in header
<clocale> | |
gets and sets the current C locale (fonksiyon) | |
queries numeric and monetary formatting details of the current locale (fonksiyon) | |
formatting details, returned by std::localeconv (sınıf) |