A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/classicu_1_1message2_1_1Formatter.html below:

ICU 77.1: icu::message2::Formatter Class Reference

Interface that formatter classes must implement. More...

#include <messageformat2_function_registry.h>

Interface that formatter classes must implement.

Internal:
Do not use. This API is for internal use only. ICU 75 technology preview
Deprecated:
This API is for technology preview only.

Definition at line 337 of file messageformat2_function_registry.h.

◆ ~Formatter() virtual icu::message2::Formatter::~Formatter ( ) virtual

Destructor.

Internal:
Do not use. This API is for internal use only. ICU 75 technology preview
Deprecated:
This API is for technology preview only.
◆ format()

Formats the input passed in context by setting an output using one of the FormattingContext methods or indicating an error.

Parameters
toFormat Placeholder, including a source formattable value and possibly the output of a previous formatter applied to it; see message2::FormattedPlaceholder for details. Passed by move. options The named function options. Passed by move status Input/output error code. Should not be set directly by the custom formatter, which should use FormattingContext::setFormattingWarning() to signal errors. The custom formatter may pass status to other ICU functions that can signal errors using this mechanism.
Returns
The formatted value.
Internal:
Do not use. This API is for internal use only. ICU 75 technology preview
Deprecated:
This API is for technology preview only.

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4