ICU 60.2 60.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

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

`#include <plurfmt.h>`

Inheritance diagram for icu::PluralFormat::PluralSelector:

## 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

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

Given a number, returns the appropriate PluralFormat keyword.

Parameters

  context | worker object for the selector.
  number | The number to be plural-formatted.
  ec | Error 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:

- plurfmt.h