Logo Search packages:      
Sourcecode: icu version File versions

int32_t U_EXPORT2 Collator::getEquivalentReorderCodes ( int32_t  reorderCode,
int32_t *  dest,
int32_t  destCapacity,
UErrorCode status 
) [static, inherited]

Retrieves the reorder codes that are grouped with the given reorder code. Some reorder codes will be grouped and must reorder together.

Parameters:
reorderCodeThe reorder code to determine equivalence for.
destThe array to fill with the script equivalene reordering codes.
destCapacityThe length of dest. If it is 0, then dest may be NULL and the function will only return the length of the result without writing any of the result string (pre-flighting).
statusA reference to an error code value, which must not indicate a failure before the function call.
Returns:
The length of the of the reordering code equivalence array.
See also:
ucol_setReorderCodes
Collator::getReorderCodes
Collator::setReorderCodes ICU 4.8

Reimplemented in RuleBasedCollator.

Definition at line 858 of file coll.cpp.

References U_SUCCESS, and U_UNSUPPORTED_ERROR.

{
    if (U_SUCCESS(status)) {
        status = U_UNSUPPORTED_ERROR;
    }
    return 0;
}

Generated by  Doxygen 1.6.0   Back to index