The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
language_def Struct Reference

#include <language.hpp>

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::stringalternates
 
t_string language
 
std::string sort_name
 
bool rtl
 

Detailed Description

Definition at line 26 of file language.hpp.

Constructor & Destructor Documentation

language_def::language_def ( )
inline

Definition at line 28 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 36 of file language.hpp.

Member Function Documentation

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

Definition at line 52 of file language.hpp.

References sort_name.

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

Definition at line 60 of file language.cpp.

References language.

Member Data Documentation

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

Definition at line 47 of file language.hpp.

Referenced by set_language().

t_string language_def::language

Definition at line 48 of file language.hpp.

Referenced by operator==().

std::string language_def::localename
bool language_def::rtl

Definition at line 50 of file language.hpp.

Referenced by current_language_rtl().

std::string language_def::sort_name

Definition at line 49 of file language.hpp.

Referenced by operator<().


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