|
ICU4C 79
|
Class implementing data from contextual options. More...
#include <messageformat2_function_registry.h>
Public Member Functions | |
| U_I18N_API const Locale & | getLocale () const |
| Returns the locale from this context. | |
| U_I18N_API UMFBidiOption | getDirection () const |
| Returns the text direction from this context. | |
| U_I18N_API const UnicodeString & | getID () const |
| Returns the ID from this context. | |
| U_I18N_API const FunctionName & | getCalledFunctionName () const |
| Returns the original called function name from this context. | |
| U_I18N_API FunctionContext | withLocale (const Locale &loc) const |
| Returns a new context with the specified locale. | |
| Public Member Functions inherited from icu::UObject | |
| virtual | ~UObject () |
| Destructor. | |
| virtual UClassID | getDynamicClassID () const |
| ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. | |
Friends | |
| class | MessageFormatter |
Class implementing data from contextual options.
See https://github.com/unicode-org/message-format-wg/pull/846
Definition at line 250 of file messageformat2_function_registry.h.
|
inline |
Returns the original called function name from this context.
Definition at line 289 of file messageformat2_function_registry.h.
References U_I18N_API.
Referenced by withLocale().
|
inline |
Returns the text direction from this context.
Definition at line 269 of file messageformat2_function_registry.h.
References U_I18N_API.
Referenced by withLocale().
|
inline |
Returns the ID from this context.
Definition at line 279 of file messageformat2_function_registry.h.
References U_I18N_API.
Referenced by withLocale().
|
inline |
Returns the locale from this context.
Definition at line 260 of file messageformat2_function_registry.h.
References U_I18N_API.
|
inline |
Returns a new context with the specified locale.
Definition at line 299 of file messageformat2_function_registry.h.
References getCalledFunctionName(), getDirection(), getID(), and U_I18N_API.
|
friend |
Definition at line 304 of file messageformat2_function_registry.h.