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

UnicodeSet & CompoundTransliterator::getTargetSet ( UnicodeSet result  )  const [virtual]

Override Transliterator framework

Reimplemented from Transliterator.

Definition at line 464 of file cpdtrans.cpp.

References UnicodeSet::addAll(), and UnicodeSet::clear().

                                                                         {
    UnicodeSet set;
    result.clear();
    for (int32_t i=0; i<count; ++i) {
    // This is a heuristic, and not 100% reliable.
    result.addAll(trans[i]->getTargetSet(set));
    }
    return result;
}


Generated by  Doxygen 1.6.0   Back to index