ICU 60.1  60.1
Public Member Functions
icu::PluralFormat::PluralSelector Class Referenceabstract

#include <plurfmt.h>

Inheritance diagram for icu::PluralFormat::PluralSelector:
icu::UMemory icu::PluralFormat::PluralSelectorAdapter

Public Member Functions

virtual UnicodeString select (void *context, double number, UErrorCode &ec) const =0
 Given a number, returns the appropriate PluralFormat keyword. More...
 

Detailed Description

Internal:
Do not use.

This API is for internal use only.

Definition at line 535 of file plurfmt.h.

Member Function Documentation

◆ select()

virtual UnicodeString icu::PluralFormat::PluralSelector::select ( void *  context,
double  number,
UErrorCode ec 
) const
pure virtual

Given a number, returns the appropriate PluralFormat keyword.

Parameters
contextworker object for the selector.
numberThe number to be plural-formatted.
ecError code.
Returns
The selected PluralFormat keyword.
Internal:
Do not use. This API is for internal use only.

Implemented in icu::PluralFormat::PluralSelectorAdapter.

Referenced by icu::MessageFormat::getApostropheMode().


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