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

UnicodeFunctor * UnicodeSet::clone ( void   )  const [virtual]

Returns a copy of this object. All UnicodeFunctor objects have to support cloning in order to allow classes using UnicodeFunctors, such as Transliterator, to implement cloning. If this set is frozen, then the clone will be frozen as well. Use cloneAsThawed() for a mutable clone of a frozen set.

See also:
cloneAsThawed ICU 2.0
Returns a copy of this object. All UnicodeMatcher objects have to support cloning in order to allow classes using UnicodeMatchers, such as Transliterator, to implement cloning.

Implements UnicodeFunctor.

Definition at line 324 of file uniset.cpp.

References UnicodeSet().

Referenced by TransliteratorAlias::create(), SpoofImpl::setAllowedLocales(), and SpoofImpl::SpoofImpl().

                                        {
    return new UnicodeSet(*this);
}


Generated by  Doxygen 1.6.0   Back to index