32 #if !UCONFIG_NO_FORMATTING
33 #ifndef U_HIDE_DEPRECATED_API
216 const UBool* closures,
308 virtual void setChoices(
const double* limitsToCopy,
322 virtual void setChoices(
const double* limits,
323 const UBool* closures,
335 virtual const double* getLimits(int32_t& count)
const;
345 virtual const UBool* getClosures(int32_t& count)
const;
355 virtual const UnicodeString* getFormats(int32_t& count)
const;
569 virtual void setChoices(
const double* limits,
570 const UBool* closures,
582 static int32_t findSubMessage(
const MessagePattern &pattern, int32_t partIndex,
double number);
584 static double parseArgument(
596 static int32_t matchStringUntilLimitPart(
597 const MessagePattern &pattern, int32_t partIndex, int32_t limitPartIndex,
668 return NumberFormat::format(obj, appendTo, status);
672 ChoiceFormat::format(
double number,
674 return NumberFormat::format(number, appendTo);
678 ChoiceFormat::format(int32_t number,
680 return NumberFormat::format(number, appendTo);
684 #endif // U_HIDE_DEPRECATED_API
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Parses and represents ICU MessageFormat patterns.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
C++ API: FieldPosition identifies the fields in a formatted output.
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
A UParseError struct is used to returned detailed information about parsing errors.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: MessagePattern class: Parses and represents ICU MessageFormat patterns.
C++ API: Abstract base class for all number formats.
int8_t UBool
The ICU boolean type.