13#ifndef MEASUREFORMAT_H
14#define MEASUREFORMAT_H
18#if U_SHOW_CPLUSPLUS_API
20#if !UCONFIG_NO_FORMATTING
66#ifndef U_HIDE_DEPRECATED_API
83class MeasureFormatCacheData;
84class SharedNumberFormat;
85class SharedPluralRules;
86class QuantityFormatter;
103 using Format::parseObject;
104 using Format::format;
169#ifndef U_FORCE_HIDE_DRAFT_API
200 int32_t measureCount,
298#ifndef U_HIDE_INTERNAL_API
360 const MeasureFormatCacheData *cache;
361 const SharedNumberFormat *numberFormat;
362 const SharedPluralRules *pluralRules;
379 int32_t measureCount,
FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...
A Locale object represents a specific geographical, political, or cultural region.
A unit such as length, mass, volume, currency, etc.
An amount of a specified unit, consisting of a number and a Unit.
ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...
Defines rules for mapping non-negative numeric values onto a small set of keywords.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UMeasureFormatWidth
Constants for various widths.
@ UMEASFMT_WIDTH_NARROW
Use symbols for measure units when possible.
@ UMEASFMT_WIDTH_WIDE
Spell out measure units.
@ UMEASFMT_WIDTH_COUNT
One more than the highest normal UMeasureFormatWidth value.
@ UMEASFMT_WIDTH_NUMERIC
Completely omit measure units when possible.
@ UMEASFMT_WIDTH_SHORT
Abbreviate measure units.
int8_t UBool
The ICU boolean type, a signed-byte integer.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Basic definitions for ICU, for both C and C++ APIs.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside.