Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

LangCode Class Reference

#include <LangCode.h>

Inheritance diagram for LangCode:

Ustring List of all members.

Public Member Functions

 LangCode (const std::string &n="")
bool hasCountry () const
LangCode languageOnly () const

Static Private Attributes

UstringHash_nameHash = 0

Detailed Description

Ustrings to contain ISO language or language_country codes.


Constructor & Destructor Documentation

LangCode::LangCode const std::string &  n = ""  )  [inline, explicit]
 


Member Function Documentation

bool LangCode::hasCountry  )  const
 

True if this contains an _country code.

LangCode LangCode::languageOnly  )  const
 

Returns the language part only.


Member Data Documentation

UstringHash * LangCode::_nameHash = 0 [static, private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 23:56:10 2006 for liby2util by doxygen 1.3.6