zypp::Locale::Impl Struct Reference

Locale implementation. More...

List of all members.

Public Member Functions

 Impl ()
 Impl (const std::string &code_r)
 Impl (const LanguageCode &language_r, const CountryCode &country_r)
const LanguageCodelanguage () const
const CountryCodecountry () const
std::string code () const
std::string name () const
Locale fallback () const

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 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)


Detailed Description

Locale implementation.

Definition at line 31 of file Locale.cc.


Constructor & Destructor Documentation

zypp::Locale::Impl::Impl  )  [inline]
 

Definition at line 33 of file Locale.cc.

zypp::Locale::Impl::Impl const std::string &  code_r  )  [inline]
 

Definition at line 36 of file Locale.cc.

References _country, and _language.

zypp::Locale::Impl::Impl const LanguageCode language_r,
const CountryCode country_r
[inline]
 

Definition at line 55 of file Locale.cc.


Member Function Documentation

const LanguageCode& zypp::Locale::Impl::language  )  const [inline]
 

Definition at line 61 of file Locale.cc.

References _language.

const CountryCode& zypp::Locale::Impl::country  )  const [inline]
 

Definition at line 64 of file Locale.cc.

References _country.

std::string zypp::Locale::Impl::code  )  const [inline]
 

Definition at line 67 of file Locale.cc.

References _country, _language, zypp::CountryCode::code(), zypp::LanguageCode::code(), and zypp::CountryCode::hasCode().

std::string zypp::Locale::Impl::name  )  const [inline]
 

Definition at line 75 of file Locale.cc.

References _country, _language, zypp::CountryCode::hasCode(), zypp::CountryCode::name(), and zypp::LanguageCode::name().

Locale zypp::Locale::Impl::fallback  )  const [inline]
 

Definition at line 83 of file Locale.cc.

References zypp::otherDefaultLanguage.

static shared_ptr<Impl> zypp::Locale::Impl::nullimpl  )  [inline, static]
 

Offer default Impl.

Definition at line 109 of file Locale.cc.


Friends And Related Function Documentation

std::ostream & operator<< std::ostream &  str,
const Locale::Impl obj
[related]
 

Stream output

Definition at line 118 of file Locale.cc.


Member Data Documentation

LanguageCode zypp::Locale::Impl::_language [private]
 

Definition at line 104 of file Locale.cc.

Referenced by code(), Impl(), language(), and name().

CountryCode zypp::Locale::Impl::_country [private]
 

Definition at line 105 of file Locale.cc.

Referenced by code(), country(), Impl(), and name().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:30 2006 for zypp by  doxygen 1.4.6