Public Member Functions | Public Attributes

language_def Struct Reference

#include <language.hpp>

Collaboration diagram for language_def:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 language_def ()
 language_def (const std::string &name, const t_string &lang, const std::string &dir, const std::string &salternates="", const std::string &sort_name="")
bool operator== (const language_def &) const
bool operator< (const language_def &a) const

Public Attributes

std::string localename
std::vector< std::string > alternates
t_string language
std::string sort_name
bool rtl

Detailed Description

Definition at line 27 of file language.hpp.


Constructor & Destructor Documentation

language_def::language_def (  )  [inline]

Definition at line 29 of file language.hpp.

language_def::language_def ( const std::string &  name,
const t_string lang,
const std::string &  dir,
const std::string &  salternates = "",
const std::string &  sort_name = "" 
) [inline]

Definition at line 37 of file language.hpp.


Member Function Documentation

bool language_def::operator< ( const language_def a  )  const [inline]

Definition at line 53 of file language.hpp.

References sort_name.

bool language_def::operator== ( const language_def a  )  const

Definition at line 62 of file language.cpp.

References language.


Member Data Documentation

std::vector<std::string> language_def::alternates

Definition at line 48 of file language.hpp.

Referenced by set_language().

Definition at line 49 of file language.hpp.

Referenced by operator==(), and gui2::tlanguage_selection::pre_show().

Definition at line 51 of file language.hpp.

Referenced by current_language_rtl().

Definition at line 50 of file language.hpp.

Referenced by operator<().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:12:49 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs