Logo Search packages:      
Sourcecode: icu version File versions

virtual ECollationStrength Collator::getStrength ( void   ) const [pure virtual]

Determines the minimum strength that will be use in comparison or transformation.

E.g. with strength == SECONDARY, the tertiary difference is ignored

E.g. with strength == PRIMARY, the secondary and tertiary difference are ignored.

Returns:
the current comparison level.
See also:
Collator::setStrength
Deprecated:
ICU 2.6 Use getAttribute(UCOL_STRENGTH...) instead

Implemented in RuleBasedCollator, and TestCollator.

Referenced by CollationAPITest::TestProperty(), and CollationAPITest::TestSortKey().

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index