LangCode Class Reference

#include <LangCode.h>

List of all members.

Public Member Functions

 LangCode ()
 LangCode (const std::string &code_r)
 LangCode (const ISOLanguage &language_r, const ISOCountry &country_r=ISOCountry())
 ~LangCode ()
bool isSet () const
bool hasLanguage () const
bool hasCountry () const
std::string code () const
std::string languageCode () const
std::string countryCode () const
std::string name () const
std::string languageName () const
std::string countryName () const
ISOLanguage language () const
ISOCountry country () const

Private Attributes

ISOLanguage _language
ISOCountry _country


Detailed Description

Store ISO language[_country] codes.

Constructor & Destructor Documentation

LangCode::LangCode (  )  [inline]

LangCode::LangCode ( const std::string &  code_r  )  [explicit]

LangCode::LangCode ( const ISOLanguage language_r,
const ISOCountry country_r = ISOCountry() 
) [inline]

LangCode::~LangCode (  )  [inline]


Member Function Documentation

bool LangCode::isSet (  )  const [inline]

bool LangCode::hasLanguage (  )  const [inline]

bool LangCode::hasCountry (  )  const [inline]

std::string LangCode::code (  )  const

std::string LangCode::languageCode (  )  const [inline]

std::string LangCode::countryCode (  )  const [inline]

std::string LangCode::name (  )  const

std::string LangCode::languageName (  )  const [inline]

std::string LangCode::countryName (  )  const [inline]

ISOLanguage LangCode::language (  )  const [inline]

ISOCountry LangCode::country (  )  const [inline]


Member Data Documentation

ISOLanguage LangCode::_language [private]

ISOCountry LangCode::_country [private]


The documentation for this class was generated from the following file:
Generated on Fri Sep 21 22:35:03 2007 for liby2util by  doxygen 1.5.3