#include <Locale.h>
- Todo:
- migrate to IdString
Definition at line 38 of file Locale.h.
Ctor taking a string.
Definition at line 146 of file Locale.cc.
zypp::Locale::Locale |
( |
const std::string & |
code_r | ) |
|
|
explicit |
zypp::Locale::Locale |
( |
const char * |
code_r | ) |
|
|
explicit |
zypp::Locale::~Locale |
( |
| ) |
|
std::string zypp::Locale::code |
( |
| ) |
const |
Return the locale code.
Definition at line 207 of file Locale.cc.
std::string zypp::Locale::name |
( |
| ) |
const |
Return the name made of language and country name.
Definition at line 215 of file Locale.cc.
Locale zypp::Locale::fallback |
( |
| ) |
const |
Return a fallback locale for this locale, when giving up, returns empty Locale()
Definition at line 223 of file Locale.cc.
std::ostream& operator<< |
( |
std::ostream & |
str, |
|
|
const Locale & |
obj |
|
) |
| |
|
friend |
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const Locale & |
obj |
|
) |
| |
|
related |
Comparison based on string value.
Definition at line 114 of file Locale.h.
bool operator== |
( |
const std::string & |
lhs, |
|
|
const Locale & |
rhs |
|
) |
| |
|
related |
bool operator== |
( |
const Locale & |
lhs, |
|
|
const std::string & |
rhs |
|
) |
| |
|
related |
bool operator!= |
( |
const std::string & |
lhs, |
|
|
const Locale & |
rhs |
|
) |
| |
|
related |
bool operator!= |
( |
const Locale & |
lhs, |
|
|
const std::string & |
rhs |
|
) |
| |
|
related |
Default order for std::container based on code string value.
Definition at line 158 of file Locale.h.
const Locale zypp::Locale::noCode |
|
static |
No or empty code.
Definition at line 71 of file Locale.h.
Pointer to implementation.
Definition at line 103 of file Locale.h.
The documentation for this class was generated from the following files: