|
typedef IdString::IdType | 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 () |
|
| IdStringType (const IdStringType &) |
|
void | operator= (const IdStringType &) |
|
| ~IdStringType () |
|
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.
|
|
'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";
'Language[_Country]' codes.
Locale fallback() const
Return the fallback locale for this locale, if no fallback exists the empty Locale::noCode.
static const Locale enCode
Last resort "en".
static const Locale noCode
Empty code.
Definition at line 49 of file Locale.h.