Logo Search packages:      
Sourcecode: icu version File versions  Download package

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

Universal attribute setter

attr attribute type
value attribute value
status to indicate whether the operation went on smoothly or there were errors ICU 2.2

Implements Collator.

Definition at line 499 of file tblcoll.cpp.

References U_FAILURE, and ucollator.

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

    if (U_FAILURE(status))
    ucol_setAttribute(ucollator, attr, value, &status);

Generated by  Doxygen 1.6.0   Back to index