class U_I18N_API RuleBasedCollator : public Collator

The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables

Inheritance:



Inherited from Collator:

Protected Methods

const Collator& operator=(const Collator& other)

Documentation

The RuleBasedCollator class provides the simple implementation of Collator, using data-driven tables. The user can create a customized table-based collation.

RuleBasedCollator maps characters to collation keys.

Table Collation has the following restrictions for efficiency (other subclasses may be used for more complex languages) :

1. If the French secondary ordering is specified in a collation object, it is applied to the whole object.

2. All non-mentioned Unicode characters are at the end of the collation order.

3. Private use characters are treated as identical. The private use area in Unicode is 0xE800-0xF8FF.

The collation table is composed of a list of collation rules, where each rule is of three forms:

.    < modifier >
.    < relation > < text-argument >
.    < reset > < text-argument >
The following demonstrates how to create your own collation rules:

This class has no child classes.
Author:
Helena Shih
Version:
1.27 4/8/97
See Also:
Collator

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de