Logo Search packages:      
Sourcecode: icu version File versions

void RuleBasedCollator::setReorderCodes ( const int32_t *  reorderCodes,
int32_t  reorderCodesLength,
UErrorCode status 
) [virtual]

Sets the ordering of scripts for this collator.

Parameters:
reorderCodesAn array of script codes in the new order. This can be NULL if the length is also set to 0. An empty array will clear any reordering codes on the collator.
reorderCodesLengthThe length of reorderCodes.
statuserror code
See also:
Collator::getReorderCodes
Collator::getEquivalentReorderCodes ICU 4.8

Reimplemented from Collator.

Definition at line 623 of file tblcoll.cpp.

References ucollator.

{
    checkOwned();
    ucol_setReorderCodes(ucollator, reorderCodes, reorderCodesLength, &status);
}

Generated by  Doxygen 1.6.0   Back to index