#include <cpdtrans.h>
Inheritance diagram for CompoundTransliterator:
Public Member Functions | |
CompoundTransliterator (Transliterator *const transliterators[], int32_t transliteratorCount, UnicodeFilter *adoptedFilter=0) | |
Constructs a new compound transliterator given an array of transliterators. | |
CompoundTransliterator (const UnicodeString &id, UTransDirection dir, UnicodeFilter *adoptedFilter, UParseError &parseError, UErrorCode &status) | |
Constructs a new compound transliterator. | |
CompoundTransliterator (const UnicodeString &id, UParseError &parseError, UErrorCode &status) | |
Constructs a new compound transliterator in the FORWARD direction with a NULL filter. | |
virtual | ~CompoundTransliterator () |
Destructor. | |
CompoundTransliterator (const CompoundTransliterator &) | |
Copy constructor. | |
CompoundTransliterator & | operator= (const CompoundTransliterator &) |
Assignment operator. | |
Transliterator * | clone (void) const |
Transliterator API. | |
virtual int32_t | getCount (void) const |
Returns the number of transliterators in this chain. | |
virtual const Transliterator & | getTransliterator (int32_t index) const |
Returns the transliterator at the given index in this chain. | |
void | setTransliterators (Transliterator *const transliterators[], int32_t count) |
Sets the transliterators. | |
void | adoptTransliterators (Transliterator *adoptedTransliterators[], int32_t count) |
Adopts the transliterators. | |
virtual UnicodeString & | toRules (UnicodeString &result, UBool escapeUnprintable) const |
Override Transliterator: Create a rule string that can be passed to createFromRules() to recreate this transliterator. | |
virtual void | handleTransliterate (Replaceable &text, UTransPosition &index, UBool incremental) const |
Implements Transliterator#handleTransliterate. |
For example, if one transliterator transliterates from script A to script B, and another transliterates from script B to script C, the two may be combined to form a new transliterator from A to C.
Composed transliterators may not behave as expected. For example, inverses may not combine to form the identity transliterator. See the class documentation for Transliterator for details.
Copyright © IBM Corporation 1999. All rights reserved.
|
Constructs a new compound transliterator given an array of transliterators. The array of transliterators may be of any length, including zero or one, however, useful compound transliterators have at least two components.
|
|
Constructs a new compound transliterator.
|
|
Constructs a new compound transliterator in the FORWARD direction with a NULL filter.
|
|
Destructor.
|
|
Copy constructor.
|
|
Adopts the transliterators.
|
|
Transliterator API.
Reimplemented from Transliterator. |
|
Returns the number of transliterators in this chain.
|
|
Returns the transliterator at the given index in this chain.
|
|
Implements Transliterator#handleTransliterate.
Implements Transliterator. |
|
Assignment operator.
|
|
Sets the transliterators.
|
|
Override Transliterator: Create a rule string that can be passed to createFromRules() to recreate this transliterator.
Reimplemented from Transliterator. |