libzypp  13.10.6
zypp::CountryCode::Impl Struct Reference

CountryCode 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

CountryCode implementation.

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

Definition at line 97 of file CountryCode.cc.

Constructor & Destructor Documentation

zypp::CountryCode::Impl::Impl ( )
inline

Definition at line 99 of file CountryCode.cc.

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

Definition at line 103 of file CountryCode.cc.

Member Function Documentation

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

Definition at line 107 of file CountryCode.cc.

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

Definition at line 110 of file CountryCode.cc.

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

Offer default Impl.

Definition at line 128 of file CountryCode.cc.

Member Data Documentation

CodeMaps::Index zypp::CountryCode::Impl::_index
private

index into code map.

Definition at line 124 of file CountryCode.cc.


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