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

UnicodeFilter * Transliterator::orphanFilter ( void   )  [inherited]

Returns the filter used by this transliterator, or NULL if this transliterator uses no filter. The caller must eventually delete the result. After this call, this transliterator's filter is set to NULL.

Returns:
the filter used by this transliterator, or NULL if this transliterator uses no filter. ICU 2.4
Returns the filter used by this transliterator, or NULL if this transliterator uses no filter. The caller must eventually delete the result. After this call, this transliterator's filter is set to NULL.

Definition at line 845 of file translit.cpp.

References Transliterator::filter, and NULL.

Referenced by TransliteratorTest::TestFiltering().

                                                {
    UnicodeFilter *result = filter;
    filter = NULL;
    return result;
}


Generated by  Doxygen 1.6.0   Back to index