|
libzypp
9.1.2
|
Locale implementation. More...
Public Member Functions | |
| Impl () | |
| Impl (const std::string &code_r) | |
| Impl (const LanguageCode &language_r, const CountryCode &country_r) | |
| const LanguageCode & | language () const |
| const CountryCode & | country () const |
| std::string | code () const |
| std::string | name () const |
| Locale | fallback () const |
Static Public Member Functions | |
| static shared_ptr< Impl > | nullimpl () |
| Offer default Impl. | |
Private Attributes | |
| LanguageCode | _language |
| CountryCode | _country |
Related Functions | |
(Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Locale::Impl &obj) |
| zypp::Locale::Impl::Impl | ( | ) | [inline] |
| zypp::Locale::Impl::Impl | ( | const std::string & | code_r | ) | [inline] |
| zypp::Locale::Impl::Impl | ( | const LanguageCode & | language_r, |
| const CountryCode & | country_r | ||
| ) | [inline] |
| const LanguageCode& zypp::Locale::Impl::language | ( | ) | const [inline] |
Definition at line 62 of file Locale.cc.
References _language.
Referenced by zypp::Locale::language().
| const CountryCode& zypp::Locale::Impl::country | ( | ) | const [inline] |
Definition at line 65 of file Locale.cc.
References _country.
Referenced by zypp::Locale::country().
| std::string zypp::Locale::Impl::code | ( | ) | const [inline] |
Definition at line 68 of file Locale.cc.
References _country, _language, zypp::LanguageCode::code(), zypp::CountryCode::code(), and zypp::CountryCode::hasCode().
Referenced by zypp::Locale::code(), and fallback().
| std::string zypp::Locale::Impl::name | ( | ) | const [inline] |
Definition at line 76 of file Locale.cc.
References _country, _language, zypp::CountryCode::hasCode(), zypp::LanguageCode::name(), and zypp::CountryCode::name().
Referenced by zypp::Locale::name().
| Locale zypp::Locale::Impl::fallback | ( | ) | const [inline] |
Definition at line 84 of file Locale.cc.
References _country, _language, code(), zypp::LanguageCode::hasCode(), zypp::CountryCode::hasCode(), zypp::Locale::Locale(), and zypp::otherDefaultLanguage.
Referenced by zypp::Locale::fallback().
| static shared_ptr<Impl> zypp::Locale::Impl::nullimpl | ( | ) | [inline, static] |
| std::ostream & operator<< | ( | std::ostream & | str, |
| const Locale::Impl & | obj | ||
| ) | [related] |
LanguageCode zypp::Locale::Impl::_language [private] |
Definition at line 105 of file Locale.cc.
Referenced by code(), fallback(), Impl(), language(), and name().
CountryCode zypp::Locale::Impl::_country [private] |
1.7.6.1