Public Member Functions | Static Private Attributes

UT_Language Class Reference

#include <ut_Language.h>

List of all members.

Public Member Functions

 UT_Language ()
UT_uint32 getCount ()
const gchar * getNthLangCode (UT_uint32 n)
const gchar * getNthLangName (UT_uint32 n)
UT_uint32 getNthId (UT_uint32 n)
const gchar * getCodeFromName (const gchar *szName)
const gchar * getCodeFromCode (const gchar *szCode)
const UT_LangRecordgetLangRecordFromCode (const gchar *szCode)
UT_uint32 getIndxFromCode (const gchar *szCode)
UT_uint32 getIdFromCode (const gchar *szCode)
UT_LANGUAGE_DIR getDirFromCode (const gchar *szCode)

Static Private Attributes

static bool s_Init = true

Constructor & Destructor Documentation

UT_Language::UT_Language (  ) 

The constructor looks up the translations for the language code and sorts the table alphabetically by the language name

References s_Init, and UT_Language_updateLanguageNames().

Member Function Documentation

const gchar * UT_Language::getCodeFromCode ( const gchar *  szCode  ) 
const gchar * UT_Language::getCodeFromName ( const gchar *  szName  ) 
UT_uint32 UT_Language::getCount (  ) 
UT_LANGUAGE_DIR UT_Language::getDirFromCode ( const gchar *  szCode  ) 
UT_uint32 UT_Language::getIdFromCode ( const gchar *  szCode  ) 
UT_uint32 UT_Language::getIndxFromCode ( const gchar *  szCode  ) 
const UT_LangRecord * UT_Language::getLangRecordFromCode ( const gchar *  szCode  ) 
UT_uint32 UT_Language::getNthId ( UT_uint32  n  ) 
const gchar * UT_Language::getNthLangCode ( UT_uint32  n  ) 
const gchar * UT_Language::getNthLangName ( UT_uint32  n  ) 

Member Data Documentation

bool UT_Language::s_Init = true [static, private]

Referenced by UT_Language().

The documentation for this class was generated from the following files: