MythTV  master
Functions | Variables
iso3166.cpp File Reference
#include "iso3166.h"
Include dependency graph for iso3166.cpp:

Go to the source code of this file.

Functions

static ISO3166ToNameMap createCountryMap (void)
 
static ISO3166ToNameMap createEnglishCountryMap (void)
 
ISO3166ToNameMap GetISO3166EnglishCountryMap (void)
 Returns a map of ISO-3166 country codes mapped to the country name in English. More...
 
QString GetISO3166EnglishCountryName (const QString &iso3166Code)
 
ISO3166ToNameMap GetISO3166CountryMap (void)
 
QString GetISO3166CountryName (const QString &iso3166Code)
 

Variables

static ISO3166ToNameMap gCountryMap
 
static ISO3166ToNameMap gEnglishCountryMap
 

Function Documentation

◆ createCountryMap()

static ISO3166ToNameMap createCountryMap ( void  )
static

Definition at line 4 of file iso3166.cpp.

Referenced by GetISO3166CountryMap(), and GetISO3166CountryName().

◆ createEnglishCountryMap()

static ISO3166ToNameMap createEnglishCountryMap ( void  )
static

Definition at line 92 of file iso3166.cpp.

Referenced by GetISO3166EnglishCountryMap(), and GetISO3166EnglishCountryName().

◆ GetISO3166EnglishCountryMap()

ISO3166ToNameMap GetISO3166EnglishCountryMap ( void  )

Returns a map of ISO-3166 country codes mapped to the country name in English.

See also
MythContext::GetLanguage()

Definition at line 344 of file iso3166.cpp.

Referenced by V2Config::GetCountries(), and LanguageSelection::Load().

◆ GetISO3166EnglishCountryName()

QString GetISO3166EnglishCountryName ( const QString &  iso3166Code)

Definition at line 352 of file iso3166.cpp.

Referenced by MythLocale::GetCountry().

◆ GetISO3166CountryMap()

ISO3166ToNameMap GetISO3166CountryMap ( void  )

Definition at line 360 of file iso3166.cpp.

◆ GetISO3166CountryName()

QString GetISO3166CountryName ( const QString &  iso3166Code)

Variable Documentation

◆ gCountryMap

ISO3166ToNameMap gCountryMap
static

Definition at line 90 of file iso3166.cpp.

Referenced by GetISO3166CountryMap(), and GetISO3166CountryName().

◆ gEnglishCountryMap

ISO3166ToNameMap gEnglishCountryMap
static

Definition at line 337 of file iso3166.cpp.

Referenced by GetISO3166EnglishCountryMap(), and GetISO3166EnglishCountryName().