12 #ifndef ZYPP_LANGUAGECODE_H 13 #define ZYPP_LANGUAGECODE_H 60 {
return std::string(
_str); }
63 std::string
name()
const;
74 #endif // ZYPP_LANGUAGECODE_H static const LanguageCode noCode
Empty code.
LanguageCode()
Default Ctor: noCode.
std::string name() const
Return the translated language name; if unknown the language code.
static const LanguageCode enCode
Last resort "en".
std::string code() const
Return the language code asString.
Access to the sat-pools string space.
Base class for creating IdString based types.
ZYPP_DEFINE_ID_HASHABLE(::zypp::LanguageCode)
Easy-to use interface to the ZYPP dependency resolver.
Language codes (iso639_2/iso639_1).