ICU 76.1 76.1
|
Structure encapsulating named options passed to a custom selector or formatter. More...
#include <messageformat2_formattable.h>
Public Member Functions | |
FunctionOptionsMap | getOptions () const |
Returns a map of all name-value pairs provided as options to this function. | |
FunctionOptions () | |
Default constructor. | |
virtual | ~FunctionOptions () |
Destructor. | |
FunctionOptions & | operator= (FunctionOptions &&) noexcept |
Move assignment operator: The source FunctionOptions will be left in a valid but undefined state. | |
FunctionOptions (FunctionOptions &&) | |
Move constructor: The source FunctionOptions will be left in a valid but undefined state. | |
FunctionOptions & | operator= (const FunctionOptions &)=delete |
Copy constructor. | |
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 | StandardFunctions |
Structure encapsulating named options passed to a custom selector or formatter.
Definition at line 488 of file messageformat2_formattable.h.
|
inline |
Default constructor.
Returns an empty mapping.
Definition at line 520 of file messageformat2_formattable.h.
|
virtual |
Destructor.
icu::message2::FunctionOptions::FunctionOptions | ( | FunctionOptions && | ) |
Move constructor: The source FunctionOptions will be left in a valid but undefined state.
|
inline |
Returns a map of all name-value pairs provided as options to this function.
The syntactic order of options is not guaranteed to be preserved.
This class is immutable and movable but not copyable.
message2::Formattable
objects representing the results of resolving each option value.Definition at line 503 of file messageformat2_formattable.h.
|
delete |
Copy constructor.
|
noexcept |
Move assignment operator: The source FunctionOptions will be left in a valid but undefined state.
|
friend |
Definition at line 552 of file messageformat2_formattable.h.
Definition at line 553 of file messageformat2_formattable.h.