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

Transliterator::Transliterator ( const Transliterator other  )  [protected]

Copy constructor. ICU 2.4

Copy constructor.

Definition at line 149 of file translit.cpp.

References UnicodeString::append(), UnicodeFunctor::clone(), filter, ID, UnicodeString::length(), and UnicodeString::truncate().

    UObject(other), ID(other.ID), filter(0),
    // NUL-terminate the ID string, which is a non-aliased copy.

    if (other.filter != 0) {
        // We own the filter, so we must have our own copy
        filter = (UnicodeFilter*) other.filter->clone();

Generated by  Doxygen 1.6.0   Back to index