31 #if !UCONFIG_NO_COLLATION
160 UBool isBogus(
void)
const;
171 const uint8_t* getByteArray(int32_t& count)
const;
173 #ifdef U_USE_COLLATION_KEY_DEPRECATES
181 uint8_t* toByteArray(int32_t& count)
const;
227 int32_t hashCode(
void)
const;
250 void adopt(uint8_t *values, int32_t capacity, int32_t count);
254 void setLength(int32_t newLength);
309 return !(*
this == other);
318 inline const uint8_t*
The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables...
UCollationResult
UCOL_LESS is returned if source string is compared to be less than target string in the u_strcoll() m...
UBool isBogus(void) const
Test to see if the key is in an invalid state.
UBool operator!=(const CollationKey &source) const
Compare if two collation keys are not the same.
EComparisonResult
LESS is returned if source string is compared to be less than target string in the compare() method...
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.
Collation keys are generated by the Collator class.
C++ API: Collation Service.
const uint8_t * getByteArray(int32_t &count) const
Returns a pointer to the collation key values.
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
C++ API: Common ICU base class UObject.
#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...
Basic definitions for ICU, for both C and C++ APIs.
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.