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

RuleBasedCollator::RuleBasedCollator ( const UnicodeString rules,
ECollationStrength  collationStrength,
UErrorCode status 
)

RuleBasedCollator constructor. This takes the table rules and builds a collation table out of them. Please see RuleBasedCollator class description for more details on the collation rule syntax.

Parameters:
rules the collation rules to build the collation table from.
collationStrength default strength for comparison
status reporting a success or an error.
See also:
Locale ICU 2.0

Definition at line 98 of file tblcoll.cpp.

References construct(), getUCollationStrength(), and UCOL_DEFAULT.

                                                         : dataIsOwned(FALSE)
{
    construct(rules,
        getUCollationStrength(collationStrength),
        UCOL_DEFAULT,
        status);
}


Generated by  Doxygen 1.6.0   Back to index