30 #if !UCONFIG_NO_FORMATTING
140 kCurrencySpacingCount
210 inline UnicodeString getSymbol(ENumberFormatSymbol symbol)
const;
221 void setSymbol(ENumberFormatSymbol symbol,
const UnicodeString &value);
227 inline Locale getLocale()
const;
252 const UnicodeString& getPatternForCurrencySpacing(ECurrencySpacing type,
253 UBool beforeCurrency,
265 void setPatternForCurrencySpacing(ECurrencySpacing type,
266 UBool beforeCurrency,
305 void initialize(
const UChar** numberElements,
int32_t *numberElementsStrLen,
int32_t numberElementsLength);
312 void setCurrencyForSymbols();
326 inline const UnicodeString &getConstSymbol(ENumberFormatSymbol symbol)
const;
332 inline const UChar* getCurrencyPattern(
void)
const;
362 const UChar* currPattern;
374 strPtr = &fSymbols[symbol];
385 strPtr = &fSymbols[symbol];
397 fSymbols[symbol]=value;
#define ULOC_FULLNAME_CAPACITY
Useful constant for the maximum size of the whole locale ID (including the terminating NULL and all k...
#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.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
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 If the compiler doesn't support namespaces...
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...
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.
signed int int32_t
Define 64 bit limits.
int8_t UBool
The ICU boolean type.