26 #if !UCONFIG_NO_FORMATTING
36 #define UPLRULES_NO_UNIQUE_VALUE ((double)-0.00123456777)
43 class PluralKeywordEnumeration;
287 double *dest, int32_t destCapacity,
309 double *dest, int32_t destCapacity,
359 static UClassID U_EXPORT2 getStaticClassID(
void);
373 int32_t *mSampleInfo;
374 int32_t mSampleInfoCount;
377 int32_t getRepeatLimit()
const;
380 void addRules(RuleChain& rules);
384 static const int32_t MAX_SAMPLES = 3;
386 int32_t getSamplesInternal(
const UnicodeString &keyword,
double *dest,
387 int32_t destCapacity,
UBool includeUnlimited,
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Base class for 'pure' C++ implementations of uenum api.
Defines rules for mapping non-negative numeric values onto a small set of keywords.
#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.
C API: Plural rules, select plural keywords for numeric values.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UBool operator!=(const PluralRules &other) const
Compares the inequality of two PluralRules objects.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
UPluralType
Type of plurals and PluralRules.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type.
A Locale object represents a specific geographical, political, or cultural region.