Logo Search packages:      
Sourcecode: icu version File versions

UColAttributeValue RuleBasedCollator::getAttribute ( UColAttribute  attr,
UErrorCode status 
) [virtual]

Universal attribute getter.

attrattribute type
statusto indicate whether the operation went on smoothly or there were errors
attribute value ICU 2.2

Implements Collator.

Definition at line 537 of file tblcoll.cpp.

References U_FAILURE, UCOL_DEFAULT, and ucollator.

    if (U_FAILURE(status))
        return UCOL_DEFAULT;
    return ucol_getAttribute(ucollator, attr, &status);

Generated by  Doxygen 1.6.0   Back to index