OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::CyrillicPlurality Class Reference

Plurality rules for Cyrillic languages (Russian, Ukranian, etc.) More...

Inheritance diagram for OpenXcom::CyrillicPlurality:
OpenXcom::LanguagePlurality

Public Member Functions

virtual const char * getSuffix (unsigned n) const
 Get dictionary key suffix for value of n. More...
 
- Public Member Functions inherited from OpenXcom::LanguagePlurality
virtual ~LanguagePlurality ()
 Allow proper destruction through base pointer.
 

Additional Inherited Members

- Static Public Member Functions inherited from OpenXcom::LanguagePlurality
static LanguagePluralitycreate (const std::string &language)
 Create a concrete instance for a given language. More...
 

Detailed Description

Plurality rules for Cyrillic languages (Russian, Ukranian, etc.)

Note
one = 1, 21, 31...; few = 2-4, 22-24, 32-34...; many = 0, 5-20, 25-30, 35-40...; other = ...

Member Function Documentation

const char * OpenXcom::CyrillicPlurality::getSuffix ( unsigned  n) const
virtual

Get dictionary key suffix for value of n.

Parameters
nThe number controlling the plurality.
Returns
Pointer to the zero-terminated suffix string.

Implements OpenXcom::LanguagePlurality.


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