BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
#include <LocaleImpl.h>
Public Member Functions | |
virtual std::string | language () const =0 |
virtual std::string | country () const =0 |
virtual std::string | displayName () const =0 |
virtual std::string | toString () const =0 |
Abstract representation of locale. This makes us independent on the target locale implementation.
|
pure virtual |
Returns country code of the locale.
Implemented in BeeeOn::SystemLocaleImpl.
|
pure virtual |
Name to display to user.
It displays its name via its locale. Thus if the locale is en_US, you would get English (USA). If the locale is cs_CZ, the result would be Čeština (Česká republika).
Implemented in BeeeOn::SystemLocaleImpl.
|
pure virtual |
Returns language code of the locale.
Implemented in BeeeOn::SystemLocaleImpl.
|
pure virtual |
String representation of the locale. It is usually a code like en_US.
Implemented in BeeeOn::SystemLocaleImpl.