Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qlocale_data_p.h File Reference

(dd56558ecdebc2415990521b08286324d430ac5c)

#include <QtCore/qendian.h>
#include <QtCore/private/qlocale_p.h>
#include <array>
#include <cstring>
+ Include dependency graph for qlocale_data_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TerritoryLanguage
 
struct  AlphaCode
 
struct  LanguageCodeEntry
 

Variables

static constexpr TerritoryLanguage ImperialMeasurementSystems []
 
static constexpr QLocaleId likely_subtags []
 
static constexpr quint16 locale_index []
 
static constexpr QLocaleData locale_data []
 
static constexpr char16_t list_pattern_part_data []
 
static constexpr char16_t single_character_data []
 
static constexpr char16_t date_format_data []
 
static constexpr char16_t time_format_data []
 
static constexpr char16_t days_data []
 
static constexpr char16_t byte_unit_data []
 
static constexpr char16_t am_data []
 
static constexpr char16_t pm_data []
 
static constexpr char16_t currency_symbol_data []
 
static constexpr char16_t currency_display_name_data []
 
static constexpr char16_t currency_format_data []
 
static constexpr char16_t endonyms_data []
 
static constexpr char language_name_list []
 
static constexpr quint16 language_name_index []
 
static constexpr char script_name_list []
 
static constexpr quint16 script_name_index []
 
static constexpr char territory_name_list []
 
static constexpr quint16 territory_name_index []
 
constexpr std::array< LanguageCodeEntry, 344 > languageCodeList
 
static constexpr unsigned char script_code_list []
 
static constexpr unsigned char territory_code_list []
 

Variable Documentation

◆ am_data

constexpr char16_t am_data[]
staticconstexpr

Definition at line 4899 of file qlocale_data_p.h.

Referenced by QLocale::amText().

◆ byte_unit_data

constexpr char16_t byte_unit_data[]
staticconstexpr

Definition at line 4780 of file qlocale_data_p.h.

Referenced by QLocale::formattedDataSize().

◆ currency_display_name_data

constexpr char16_t currency_display_name_data[]
staticconstexpr

Definition at line 5090 of file qlocale_data_p.h.

Referenced by QLocale::currencySymbol().

◆ currency_format_data

constexpr char16_t currency_format_data[]
staticconstexpr
Initial value:
= {
0x25, 0x31, 0x25, 0x32, 0x25, 0x31, 0xa0, 0x25, 0x32, 0x28, 0x25, 0x32,
0x25, 0x31, 0x29, 0x25, 0x32, 0xa0, 0x25, 0x31, 0x28, 0x25, 0x31, 0xa0,
0x25, 0x32, 0x29, 0x200f, 0x25, 0x31, 0xa0, 0x25, 0x32, 0x61c, 0x25, 0x31,
0x25, 0x32, 0x28, 0x61c, 0x25, 0x31, 0x25, 0x32, 0x29, 0x28, 0x25, 0x31,
0x25, 0x32, 0x29, 0x28, 0x25, 0x31, 0x29, 0xa0, 0x25, 0x32, 0x28, 0x25,
0x32, 0xa0, 0x25, 0x31, 0x29, 0x25, 0x32, 0x2d, 0x25, 0x31, 0x200f, 0x25,
0x31, 0xa0, 0x200f, 0x25, 0x32, 0x200f, 0x200e, 0x2d, 0x25, 0x31, 0xa0, 0x200f,
0x25, 0x32, 0x25, 0x32, 0xa0, 0x2d, 0x25, 0x31, 0x25, 0x32, 0x2212, 0x25,
0x31, 0x25, 0x32, 0x2d, 0xa0, 0x25, 0x31, 0x200e, 0x25, 0x32, 0xa0, 0x25,
0x31, 0x200e, 0x28, 0x25, 0x32, 0xa0, 0x25, 0x31, 0x29, 0x25, 0x31, 0x202f,
0x25, 0x32
}

Definition at line 5577 of file qlocale_data_p.h.

Referenced by QLocale::toCurrencyString(), QLocale::toCurrencyString(), and QLocale::toCurrencyString().

◆ currency_symbol_data

constexpr char16_t currency_symbol_data[]
staticconstexpr
Initial value:
= {
0x20be, 0x42, 0x72, 0x46, 0x64, 0x6a, 0x4e, 0x66, 0x6b, 0x52, 0x24, 0x46,
0x43, 0x46, 0x41, 0x47, 0x48, 0x20b5, 0x4c, 0x65, 0x6b, 0xeb, 0x20ac, 0x64,
0x65, 0x6e, 0x1265, 0x122d, 0x62c, 0x2e, 0x645, 0x2e, 0x200f, 0x62f, 0x2e, 0x62c,
0x2e, 0x200f, 0x62f, 0x2e, 0x628, 0x2e, 0x200f, 0x62f, 0x2e, 0x639, 0x2e, 0x200f,
0x20aa, 0x62f, 0x2e, 0x623, 0x2e, 0x200f, 0x62f, 0x2e, 0x643, 0x2e, 0x200f, 0x644,
0x2e, 0x644, 0x2e, 0x200f, 0x62f, 0x2e, 0x644, 0x2e, 0x200f, 0x623, 0x2e, 0x645,
0x2e, 0x62f, 0x2e, 0x645, 0x2e, 0x200f, 0x631, 0x2e, 0x639, 0x2e, 0x200f, 0x631,
0x2e, 0x642, 0x2e, 0x200f, 0x631, 0x2e, 0x633, 0x2e, 0x200f, 0x53, 0xa3, 0x62c,
0x2e, 0x633, 0x2e, 0x644, 0x2e, 0x633, 0x2e, 0x200f, 0x62f, 0x2e, 0x62a, 0x2e,
0x200f, 0x62f, 0x2e, 0x625, 0x2e, 0x200f, 0x631, 0x2e, 0x64a, 0x2e, 0x200f, 0x58f,
0x20b9, 0x54, 0x53, 0x68, 0x20a6, 0x20bc, 0x20ba, 0x46, 0x202f, 0x43, 0x46, 0x41,
0x9f3, 0x20bd, 0x4b, 0x4b, 0x4d, 0x41a, 0x41c, 0x43b, 0x432, 0x2e, 0x48, 0x4b,
0x24, 0xffe5, 0x20b1, 0x55, 0x53, 0x68, 0xa5, 0x4d, 0x4f, 0x50, 0x24, 0x45,
0x55, 0x52, 0x4b, 0x10d, 0x6b, 0x72, 0x2e, 0x783, 0x2e, 0x41, 0x66, 0x6c,
0x2e, 0x4e, 0x41, 0x66, 0x2e, 0x4e, 0x75, 0x2e, 0x4b, 0x73, 0x68, 0x55,
0x53, 0x24, 0x46, 0x42, 0x75, 0x44, 0x52, 0x70, 0x41, 0x72, 0x4d, 0x4b,
0x52, 0x4d, 0x52, 0x66, 0x52, 0x73, 0x52, 0x46, 0x57, 0x53, 0x24, 0x53,
0x52, 0x54, 0x24, 0x56, 0x54, 0x44, 0x41, 0x46, 0x43, 0x46, 0x50, 0x46,
0x47, 0x55, 0x4d, 0x4c, 0x53, 0x44, 0x54, 0xd83a, 0xdd05, 0xd83a, 0xdd0a, 0xd83a,
0xdd00, 0xd83a, 0xdd0a, 0xd83a, 0xdd05, 0xd83a, 0xdd0a, 0xd83a, 0xdd00, 0x20b2, 0x46, 0x74,
0x43, 0x41, 0x24, 0x200b, 0x20b8, 0x17db, 0x51, 0x20a9, 0x43, 0x4e, 0xa5, 0x441,
0x43e, 0x43c, 0x20ad, 0x4b, 0x7a, 0x434, 0x435, 0x43d, 0x2e, 0x4d, 0x54, 0x6e,
0x20ae, 0x928, 0x947, 0x930, 0x942, 0x7ff, 0x60b, 0x631, 0x6cc, 0x627, 0x644, 0x7a,
0x142, 0x44, 0x62, 0x53, 0x2f, 0x42, 0x73, 0x6c, 0x65, 0x69, 0x20b4, 0xdbb,
0xdd4, 0x2e, 0x20a1, 0x52, 0x44, 0x24, 0x43, 0x24, 0x42, 0x2f, 0x2e, 0x47,
0x73, 0x2e, 0x42, 0x73, 0x2e, 0x53, 0x20ab, 0x441, 0x43e, 0x43c, 0x2e, 0x52,
0x73, 0x2e, 0x4e, 0x54, 0x24, 0xe3f, 0x73, 0x6f, 0x2bb, 0x6d, 0x441, 0x45e,
0x43c
}

Definition at line 5059 of file qlocale_data_p.h.

Referenced by QLocale::currencySymbol().

◆ date_format_data

constexpr char16_t date_format_data[]
staticconstexpr

Definition at line 2204 of file qlocale_data_p.h.

Referenced by QLocale::dateFormat().

◆ days_data

constexpr char16_t days_data[]
staticconstexpr

Definition at line 2444 of file qlocale_data_p.h.

Referenced by rawStandaloneWeekDayName(), and rawWeekDayName().

◆ endonyms_data

constexpr char16_t endonyms_data[]
staticconstexpr

Definition at line 5591 of file qlocale_data_p.h.

Referenced by QLocale::nativeLanguageName(), and QLocale::nativeTerritoryName().

◆ ImperialMeasurementSystems

◆ language_name_index

constexpr quint16 language_name_index[]
staticconstexpr

Definition at line 6543 of file qlocale_data_p.h.

Referenced by QLocale::languageToString().

◆ language_name_list

constexpr char language_name_list[]
staticconstexpr

Definition at line 6196 of file qlocale_data_p.h.

Referenced by QLocale::languageToString().

◆ languageCodeList

constexpr std::array<LanguageCodeEntry, 344> languageCodeList
constexpr

◆ likely_subtags

constexpr QLocaleId likely_subtags[]
staticconstexpr

Definition at line 91 of file qlocale_data_p.h.

Referenced by QLocaleId::withLikelySubtagsAdded().

◆ list_pattern_part_data

constexpr char16_t list_pattern_part_data[]
staticconstexpr

Definition at line 2076 of file qlocale_data_p.h.

Referenced by QLocale::createSeparatedList().

◆ locale_data

◆ locale_index

constexpr quint16 locale_index[]
staticconstexpr

◆ pm_data

constexpr char16_t pm_data[]
staticconstexpr

Definition at line 4977 of file qlocale_data_p.h.

Referenced by QLocale::pmText().

◆ script_code_list

constexpr unsigned char script_code_list[]
staticconstexpr

◆ script_name_index

constexpr quint16 script_name_index[]
staticconstexpr

Definition at line 7036 of file qlocale_data_p.h.

Referenced by QLocale::scriptToString().

◆ script_name_list

constexpr char script_name_list[]
staticconstexpr

Definition at line 6890 of file qlocale_data_p.h.

Referenced by QLocale::scriptToString().

◆ single_character_data

constexpr char16_t single_character_data[]
staticconstexpr
Initial value:
= {
0x2e, 0x2c, 0x25, 0x30, 0x2d, 0x2b, 0x65, 0x22, 0x27, 0xa0, 0x45, 0xab,
0xbb, 0x201e, 0x201c, 0x201d, 0x2018, 0x2019, 0x201a, 0x2039, 0x203a, 0x66b, 0x66c, 0x66a,
0x61c, 0x660, 0x61c, 0x2d, 0x61c, 0x2b, 0x623, 0x633, 0x200e, 0x25, 0x200e, 0x200e,
0x2d, 0x200e, 0x2b, 0x9e6, 0x6f0, 0x200e, 0x2b, 0x200e, 0xd7, 0x6f1, 0x6f0, 0x5e,
0x2212, 0x966, 0x1040, 0x300c, 0x300d, 0x300e, 0x300f, 0x200f, 0x2d, 0x200f, 0x2b, 0x627,
0x633, 0xd804, 0xdd36, 0xd7, 0x31, 0x30, 0x5e, 0xf20, 0x202f, 0x2e41, 0xd83a, 0xdd50,
0xd83a, 0xdd09, 0x12c8, 0xabf0, 0x60c, 0x7c0, 0xb7, 0x31, 0x30, 0x5e, 0x200e, 0x2212,
0x1c50, 0x415
}

Definition at line 2193 of file qlocale_data_p.h.

Referenced by QLocaleData::exponentSeparator(), QLocaleData::listSeparator(), localeString(), QLocaleData::numericData(), QLocaleData::percentSign(), QLocale::quoteString(), and QLocaleData::zeroUcs().

◆ territory_code_list

constexpr unsigned char territory_code_list[]
staticconstexpr

◆ territory_name_index

constexpr quint16 territory_name_index[]
staticconstexpr

Definition at line 7447 of file qlocale_data_p.h.

Referenced by QLocale::territoryToString().

◆ territory_name_list

constexpr char territory_name_list[]
staticconstexpr

Definition at line 7182 of file qlocale_data_p.h.

Referenced by QLocale::territoryToString().

◆ time_format_data

constexpr char16_t time_format_data[]
staticconstexpr

Definition at line 2390 of file qlocale_data_p.h.

Referenced by QLocale::timeFormat().