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

std::string LangCode::code  )  const
 

ISOCountry LangCode::country  )  const [inline]
 

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

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

bool LangCode::hasCountry  )  const [inline]
 

bool LangCode::hasLanguage  )  const [inline]
 

bool LangCode::isSet  )  const [inline]
 

ISOLanguage LangCode::language  )  const [inline]
 

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

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

std::string LangCode::name  )  const
 


Member Data Documentation

ISOCountry LangCode::_country [private]
 

ISOLanguage LangCode::_language [private]
 


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 15:51:35 2006 for liby2util by  doxygen 1.4.6