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::NoSingular Class Reference

Plurality rules where there is no singular. More...

Inheritance diagram for OpenXcom::NoSingular:
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 where there is no singular.

Provide rules for languages where everything is plural.

Note
other = ...

Member Function Documentation

const char * OpenXcom::NoSingular::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: