Represents all the display options that are supported by CLDR such as grammatical case, noun class, ... etc.
More...
#include <displayoptions.h>
Represents all the display options that are supported by CLDR such as grammatical case, noun class, ... etc.
It currently supports enums, but may be extended in the future to have other types of data. It replaces a DisplayContext[] as a method parameter.
NOTE: This class is Immutable, and uses a Builder interface.
For example:
.build();
Represents all the display options that are supported by CLDR such as grammatical case,...
static Builder builder()
Creates a builder with the UNDEFINED values for all the parameters.
"Smart pointer" base class; do not use directly: use LocalPointer etc.
@ UDISPOPT_PLURAL_CATEGORY_FEW
@ UDISPOPT_GRAMMATICAL_CASE_DATIVE
- Stable:
- ICU 72
Definition at line 43 of file displayoptions.h.
◆ DisplayOptions()
◆ builder()
Creates a builder with the UNDEFINED
values for all the parameters.
- Returns
- Builder
- Stable:
- ICU 72
◆ copyToBuilder()
Builder icu::DisplayOptions::copyToBuilder |
( |
| ) |
const |
Creates a builder with the same parameters from this object.
- Returns
- Builder
- Stable:
- ICU 72
◆ getCapitalization()
◆ getDisplayLength()
◆ getGrammaticalCase()
◆ getNameStyle()
◆ getNounClass()
◆ getPluralCategory()
◆ getSubstituteHandling()
Gets the substitute handling.
- Returns
- UDisplayOptionsSubstituteHandling
- Stable:
- ICU 72
Definition at line 227 of file displayoptions.h.
◆ operator=() [1/2]
◆ operator=() [2/2]
The documentation for this class was generated from the following file: