Logo Search packages:      
Sourcecode: icu version File versions

Collator::EComparisonResult RuleBasedCollator::getEComparisonResult ( const UCollationResult result ) const [inline, private]

Converts C's UCollationResult to EComparisonResult

resultmember of the enum UComparisonResult
EComparisonResult equivalent of UCollationResult
ICU 2.6. We will not need it.

Definition at line 939 of file tblcoll.h.

References UCOL_EQUAL, and UCOL_LESS.

Referenced by compare().

    switch (result)
    case UCOL_LESS :
        return Collator::LESS;
    case UCOL_EQUAL :
        return Collator::EQUAL;
    default :
        return Collator::GREATER;

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index