ICU 73.2  73.2
Public Member Functions
icu::DisplayOptions::Builder Class Reference

Responsible for building `DisplayOptions`. More...

#include <displayoptions.h>

Public Member Functions

BuildersetGrammaticalCase (UDisplayOptionsGrammaticalCase grammaticalCase)
 Sets the grammatical case.
BuildersetNounClass (UDisplayOptionsNounClass nounClass)
 Sets the noun class.
BuildersetPluralCategory (UDisplayOptionsPluralCategory pluralCategory)
 Sets the plural category.
BuildersetCapitalization (UDisplayOptionsCapitalization capitalization)
 Sets the capitalization.
BuildersetNameStyle (UDisplayOptionsNameStyle nameStyle)
 Sets the dialect handling.
BuildersetDisplayLength (UDisplayOptionsDisplayLength displayLength)
 Sets the display length.
BuildersetSubstituteHandling (UDisplayOptionsSubstituteHandling substituteHandling)
 Sets the substitute handling.
DisplayOptions build ()
 Builds the display options.

Detailed Description

Responsible for building `DisplayOptions`.

Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 52 of file displayoptions.h.


Member Function Documentation

Builds the display options.

Returns:
DisplayOptions
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 144 of file displayoptions.h.

Sets the capitalization.

Parameters:
capitalizationThe capitalization.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 97 of file displayoptions.h.

Sets the display length.

Parameters:
displayLengthThe display length.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 121 of file displayoptions.h.

Sets the grammatical case.

Parameters:
grammaticalCaseThe grammatical case.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 61 of file displayoptions.h.

Sets the dialect handling.

Parameters:
nameStyleThe name style.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 109 of file displayoptions.h.

Sets the noun class.

Parameters:
nounClassThe noun class.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 73 of file displayoptions.h.

Sets the plural category.

Parameters:
pluralCategoryThe plural category.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 85 of file displayoptions.h.

Sets the substitute handling.

Parameters:
substituteHandlingThe substitute handling.
Returns:
Builder
Draft:
This API may be changed in the future versions and was introduced in ICU 72

Definition at line 133 of file displayoptions.h.


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