Interface that selector classes must implement. More...
#include <messageformat2_function_registry.h>
Interface that selector classes must implement.
Definition at line 375 of file messageformat2_function_registry.h.
◆ ~Selector() virtual icu::message2::Selector::~Selector ( ) virtualDestructor.
Compares the input to an array of keys, and returns an array of matching keys sorted by preference.
context.getFormattableInput()
) in an implementation-specific way. keysLen The length of keys
. prefs An array of strings with length keysLen
. The contents of the array is undefined. selectKey()
should set the contents of prefs
to a subset of keys
, with the best match placed at the lowest index. prefsLen A reference that selectKey()
should set to the length of prefs
, which must be less than or equal to keysLen
. status Input/output error code. Should not be set directly by the custom selector, which should use FormattingContext::setSelectorError()
to signal errors. The custom selector may pass status
to other ICU functions that can signal errors using this mechanism.
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