U_CAPI int32_t ucol_getSortKey (const UCollator *coll, const UChar *source, int32_t sourceLength, uint8_t *result, int32_t resultLength)

Get a sort key for a string from a UCollator

Documentation

Get a sort key for a string from a UCollator. Sort keys may be compared using memcmp.
Returns:
The size needed to fully store the sort key..
Parameters:
coll - The UCollator containing the collation rules.
source - The string to transform.
sourecLength - The length of source, or -1 if null-terminated.
result - A pointer to a buffer to receive the attribute.
resultLength - The maximum size of result.
See Also:
ucol_keyHashCode

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de