ICU 55.1 55.1

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

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

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
icu::PluralFormat::PluralSelector Class Reference

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

## Detailed Description

Internal:
  Do not use. This API is for internal use only.

Definition at line 533 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.

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

- plurfmt.h