libzypp  13.10.6
zypp::LanguageCode::Impl Struct Reference

LanguageCode implementation. More...

Public Member Functions

 Impl ()
 
 Impl (const std::string &code_r)
 
std::string code () const
 
std::string name () const
 

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 Offer default Impl. More...
 

Private Attributes

CodeMaps::Index _index
 index into code map. More...
 

Detailed Description

LanguageCode implementation.

Note
CodeMaps contain the untranslated language names. Translation is done in name.

Definition at line 97 of file LanguageCode.cc.

Constructor & Destructor Documentation

zypp::LanguageCode::Impl::Impl ( )
inline

Definition at line 99 of file LanguageCode.cc.

zypp::LanguageCode::Impl::Impl ( const std::string &  code_r)
inline

Definition at line 103 of file LanguageCode.cc.

Member Function Documentation

std::string zypp::LanguageCode::Impl::code ( ) const
inline

Definition at line 107 of file LanguageCode.cc.

std::string zypp::LanguageCode::Impl::name ( ) const
inline

Definition at line 110 of file LanguageCode.cc.

static shared_ptr<Impl> zypp::LanguageCode::Impl::nullimpl ( )
inlinestatic

Offer default Impl.

Definition at line 128 of file LanguageCode.cc.

Member Data Documentation

CodeMaps::Index zypp::LanguageCode::Impl::_index
private

index into code map.

Definition at line 124 of file LanguageCode.cc.


The documentation for this struct was generated from the following file: