Logo Search packages:      
Sourcecode: icu version File versions

void RuleBasedCollator::setAttribute ( UColAttribute  attr,
UColAttributeValue  value,
UErrorCode status 
) [virtual]

Universal attribute setter

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

Implements Collator.

Definition at line 527 of file tblcoll.cpp.

References U_FAILURE, and ucollator.

Referenced by RuleBasedNumberFormat::getCollator(), and CollationIteratorTest::TestAssignment().

{
    if (U_FAILURE(status))
        return;
    checkOwned();
    ucol_setAttribute(ucollator, attr, value, &status);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index