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

UnicodeSet & Transliterator::getTargetSet ( UnicodeSet result  )  const [virtual, inherited]

Returns the set of all characters that may be generated as replacement text by this transliterator. The default implementation returns the empty set. Some subclasses may override this method to return a more precise result. The return result is approximate in any case and is intended for use by tests, tools, or utilities requiring such meta-information.

Parameters:
result receives result set; previous contents lost
Returns:
a reference to result
See also:
getTargetSet ICU 2.4

Reimplemented in CompoundTransliterator, and RuleBasedTransliterator.

Definition at line 1210 of file translit.cpp.

References UnicodeSet::clear().

Referenced by FunctionReplacer::addReplacementSetTo(), and TransliteratorTest::TestSourceTargetSet().

                                                                 {
    return result.clear();
}


Generated by  Doxygen 1.6.0   Back to index