|
| using | IdType |
| |
| static int | compare (const Locale &lhs, const Locale &rhs) |
| |
| static int | compare (const Locale &lhs, const IdString &rhs) |
| |
| static int | compare (const Locale &lhs, const std::string &rhs) |
| |
| static int | compare (const Locale &lhs, const char *rhs) |
| |
| static int | compare (const IdString &lhs, const Locale &rhs) |
| |
| static int | compare (const IdString &lhs, const IdString &rhs) |
| |
| static int | compare (const IdString &lhs, const std::string &rhs) |
| |
| static int | compare (const IdString &lhs, const char *rhs) |
| |
| static int | compare (const std::string &lhs, const Locale &rhs) |
| |
| static int | compare (const std::string &lhs, const IdString &rhs) |
| |
| static int | compare (const std::string &lhs, const std::string &rhs) |
| |
| static int | compare (const std::string &lhs, const char *rhs) |
| |
| static int | compare (const char *lhs, const Locale &rhs) |
| |
| static int | compare (const char *lhs, const IdString &rhs) |
| |
| static int | compare (const char *lhs, const std::string &rhs) |
| |
| static int | compare (const char *lhs, const char *rhs) |
| |
| | IdStringType ()=default |
| |
| | IdStringType (const IdStringType &)=default |
| |
| | IdStringType (IdStringType &&) noexcept=default |
| |
| IdStringType & | operator= (const IdStringType &)=default |
| |
| IdStringType & | operator= (IdStringType &&) noexcept=default |
| |
| | ~IdStringType ()=default |
| |
| static PoolImpl & | myPool () |
| |
| std::ostream & | operator<< (std::ostream &str, const IdStringType< Locale > &obj) |
| | Stream output.
|
| |
| bool | operator== (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Equal.
|
| |
| bool | operator!= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | NotEqual.
|
| |
| bool | operator< (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Less.
|
| |
| bool | operator<= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | LessEqual.
|
| |
| bool | operator> (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Greater.
|
| |
| bool | operator>= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | GreaterEqual.
|
| |
| std::ostream & | operator<< (std::ostream &str, const IdStringType< Locale > &obj) |
| | Stream output.
|
| |
| bool | operator== (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Equal.
|
| |
| bool | operator!= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | NotEqual.
|
| |
| bool | operator< (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Less.
|
| |
| bool | operator<= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | LessEqual.
|
| |
| bool | operator> (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | Greater.
|
| |
| bool | operator>= (const IdStringType< Locale > &lhs, const IdStringType< Locale > &rhs) |
| | GreaterEqual.
|
| |
'Language[_Country]' codes.
In fact the class will not prevent to use a non iso code. Just a warning will appear in the log. Construction from string consider everything up to the first '.' or '@'.
l.code() == "de_DE";
l.language() == "de";
l.country() == "DE";
l.fallback() == "de";
static const Locale enCode
Last resort "en".
static const Locale noCode
Empty code.
Locale()
Default Ctor: noCode.
Definition at line 50 of file Locale.h.