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