Logo Search packages:      
Sourcecode: icu version File versions

UnicodeSet * RuleBasedCollator::getTailoredSet ( UErrorCode status ) const [virtual]

Get an UnicodeSet that contains all the characters and sequences tailored in this collator.

statuserror code of the operation
a pointer to a UnicodeSet object containing all the code points and sequences that may sort differently than in the UCA. The object must be disposed of by using delete ICU 2.4

Reimplemented from Collator.

Definition at line 319 of file tblcoll.cpp.

References NULL, U_FAILURE, and ucollator.

Referenced by CollationAPITest::TestGetTailoredSet().

    if(U_FAILURE(status)) {
        return NULL;
    return (UnicodeSet *)ucol_getTailoredSet(this->ucollator, &status);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index