31 #if !UCONFIG_NO_FORMATTING
237 inline UnicodeString getSymbol(ENumberFormatSymbol symbol)
const;
251 void setSymbol(ENumberFormatSymbol symbol,
const UnicodeString &value,
const UBool propogateDigits);
257 inline Locale getLocale()
const;
283 UBool beforeCurrency,
296 UBool beforeCurrency,
333 void setCurrencyForSymbols();
347 inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol)
const;
353 inline const UChar* getCurrencyPattern(
void)
const;
383 const UChar* currPattern;
385 UnicodeString currencySpcBeforeSym[UNUM_CURRENCY_SPACING_COUNT];
386 UnicodeString currencySpcAfterSym[UNUM_CURRENCY_SPACING_COUNT];
395 strPtr = &fSymbols[symbol];
406 strPtr = &fSymbols[symbol];
418 fSymbols[symbol]=value;
426 for ( int8_t i = 1 ; i<= 9 ; i++ ) {
int32_t countChar32(int32_t start=0, int32_t length=INT32_MAX) const
Count Unicode code points in the length UChar code units of the string.
UCurrencySpacing
Constants for specifying currency spacing.
int32_t u_charDigitValue(UChar32 c)
Returns the decimal digit value of a decimal digit character.
#define ULOC_FULLNAME_CAPACITY
Useful constant for the maximum size of the whole locale ID (including the terminating NULL and all k...
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
#define TRUE
The TRUE value of a UBool.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C API: Unicode Properties.
C++ API: Common ICU base class UObject.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
UChar32 char32At(int32_t offset) const
Return the code point that contains the code unit at offset offset.
ULocDataLocaleType
Constants for *_getLocale() Allow user to select whether she wants information on requested...
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
#define FALSE
The FALSE value of a UBool.
A Locale object represents a specific geographical, political, or cultural region.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
int8_t UBool
The ICU boolean type.