Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CLangInfo::CRegion Class Referencefinal

#include <LangInfo.h>

Classes

class  custom_numpunct
 

Public Member Functions

 CRegion ()
 
void SetDefaults ()
 
void SetTemperatureUnit (const std::string &strUnit)
 
void SetSpeedUnit (const std::string &strUnit)
 
void SetTimeZone (const std::string &strTimeZone)
 
void SetGlobalLocale ()
 Set the locale associated with this region global.
 

Public Attributes

std::string m_strLangLocaleName
 
std::string m_strLangLocaleCodeTwoChar
 
std::string m_strRegionLocaleName
 
std::string m_strName
 
std::string m_strDateFormatLong
 
std::string m_strDateFormatShort
 
std::string m_strTimeFormat
 
std::string m_strMeridiemSymbols [2]
 
std::string m_strTimeZone
 
std::string m_strGrouping
 
char m_cDecimalSep
 
char m_cThousandsSep
 
CTemperature::Unit m_tempUnit
 
CSpeed::Unit m_speedUnit
 

Constructor & Destructor Documentation

◆ CRegion()

CLangInfo::CRegion::CRegion ( )

Member Function Documentation

◆ SetDefaults()

void CLangInfo::CRegion::SetDefaults ( )

◆ SetGlobalLocale()

void CLangInfo::CRegion::SetGlobalLocale ( )

Set the locale associated with this region global.

Set the locale associated with this region global. This affects string sorting & transformations.

Todo
move to CLangInfo class

◆ SetSpeedUnit()

void CLangInfo::CRegion::SetSpeedUnit ( const std::string & strUnit)

◆ SetTemperatureUnit()

void CLangInfo::CRegion::SetTemperatureUnit ( const std::string & strUnit)

◆ SetTimeZone()

void CLangInfo::CRegion::SetTimeZone ( const std::string & strTimeZone)

Member Data Documentation

◆ m_cDecimalSep

char CLangInfo::CRegion::m_cDecimalSep

◆ m_cThousandsSep

char CLangInfo::CRegion::m_cThousandsSep

◆ m_speedUnit

CSpeed::Unit CLangInfo::CRegion::m_speedUnit

◆ m_strDateFormatLong

std::string CLangInfo::CRegion::m_strDateFormatLong

◆ m_strDateFormatShort

std::string CLangInfo::CRegion::m_strDateFormatShort

◆ m_strGrouping

std::string CLangInfo::CRegion::m_strGrouping

◆ m_strLangLocaleCodeTwoChar

std::string CLangInfo::CRegion::m_strLangLocaleCodeTwoChar

◆ m_strLangLocaleName

std::string CLangInfo::CRegion::m_strLangLocaleName

◆ m_strMeridiemSymbols

std::string CLangInfo::CRegion::m_strMeridiemSymbols[2]

◆ m_strName

std::string CLangInfo::CRegion::m_strName

◆ m_strRegionLocaleName

std::string CLangInfo::CRegion::m_strRegionLocaleName

◆ m_strTimeFormat

std::string CLangInfo::CRegion::m_strTimeFormat

◆ m_strTimeZone

std::string CLangInfo::CRegion::m_strTimeZone

◆ m_tempUnit

CTemperature::Unit CLangInfo::CRegion::m_tempUnit

The documentation for this class was generated from the following files: