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

Transliterator::Transliterator ( const UnicodeString theID,
UnicodeFilter adoptedFilter 
) [protected]

Default constructor.

Parameters:
ID the string identifier for this transliterator
adoptedFilter the filter. Any character for which filter.contains() returns false will not be altered by this transliterator. If filter is null then no filtering is applied. ICU 2.4
Default constructor.
Parameters:
theID the string identifier for this transliterator
theFilter the filter. Any character for which filter.contains() returns FALSE will not be altered by this transliterator. If filter is null then no filtering is applied.

Definition at line 127 of file translit.cpp.

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

                                                             :
    UObject(), ID(theID), filter(adoptedFilter),
    maximumContextLength(0)
{
    // NUL-terminate the ID string, which is a non-aliased copy.
    ID.append((UChar)0);
    ID.truncate(ID.length()-1);
}


Generated by  Doxygen 1.6.0   Back to index