Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TableISO639_2.h File Reference
#include "utils/i18n/TableISO639.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <string_view>

Classes

struct  ISO639_2_TB
 

Functions

constexpr auto CreateTBMappingsByB ()
 

Variables

constexpr int ISO639_2_COUNT = 487
 
constexpr std::array< struct LCENTRY, ISO639_2_COUNTTableISO639_2ByCode
 
constexpr std::array< struct LCENTRY, ISO639_2_ADDL_NAMES_COUNT > TableISO639_2_Names
 
constexpr auto TableISO639_2AllNames
 
constexpr std::array< ISO639_2_TB, ISO639_2_TB_COUNT > ISO639_2_TB_Mappings
 
constexpr auto ISO639_2_TB_MappingsByB = CreateTBMappingsByB()
 

Function Documentation

◆ CreateTBMappingsByB()

auto CreateTBMappingsByB ( )
constexpr

Variable Documentation

◆ ISO639_2_COUNT

int ISO639_2_COUNT = 487
inlineconstexpr

◆ ISO639_2_TB_Mappings

std::array<ISO639_2_TB, ISO639_2_TB_COUNT> ISO639_2_TB_Mappings
inlineconstexpr
Initial value:
= {{
{StringToLongCode("bod"), StringToLongCode("tib")},
{StringToLongCode("ces"), StringToLongCode("cze")},
{StringToLongCode("cym"), StringToLongCode("wel")},
{StringToLongCode("deu"), StringToLongCode("ger")},
{StringToLongCode("ell"), StringToLongCode("gre")},
{StringToLongCode("eus"), StringToLongCode("baq")},
{StringToLongCode("fas"), StringToLongCode("per")},
{StringToLongCode("fra"), StringToLongCode("fre")},
{StringToLongCode("hrv"), StringToLongCode("scr")},
{StringToLongCode("hye"), StringToLongCode("arm")},
{StringToLongCode("isl"), StringToLongCode("ice")},
{StringToLongCode("kat"), StringToLongCode("geo")},
{StringToLongCode("mkd"), StringToLongCode("mac")},
{StringToLongCode("mri"), StringToLongCode("mao")},
{StringToLongCode("msa"), StringToLongCode("may")},
{StringToLongCode("mya"), StringToLongCode("bur")},
{StringToLongCode("nld"), StringToLongCode("dut")},
{StringToLongCode("ron"), StringToLongCode("rum")},
{StringToLongCode("slk"), StringToLongCode("slo")},
{StringToLongCode("sqi"), StringToLongCode("alb")},
{StringToLongCode("srp"), StringToLongCode("scc")},
{StringToLongCode("zho"), StringToLongCode("chi")},
}}

◆ ISO639_2_TB_MappingsByB

auto ISO639_2_TB_MappingsByB = CreateTBMappingsByB()
inlineconstexpr

◆ TableISO639_2_Names

std::array<struct LCENTRY, ISO639_2_ADDL_NAMES_COUNT> TableISO639_2_Names
constexpr

◆ TableISO639_2AllNames

auto TableISO639_2AllNames
inlineconstexpr
Initial value:
=
CreateIso639ByName(ConcatenateArrays(TableISO639_2ByCode, TableISO639_2_Names))
constexpr std::array< struct LCENTRY, ISO639_2_ADDL_NAMES_COUNT > TableISO639_2_Names
Definition TableISO639_2.h:535
constexpr std::array< struct LCENTRY, ISO639_2_COUNT > TableISO639_2ByCode
Definition TableISO639_2.h:31

◆ TableISO639_2ByCode

std::array<struct LCENTRY, ISO639_2_COUNT> TableISO639_2ByCode
constexpr