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

U_CDECL_END NameUnicodeTransliterator::NameUnicodeTransliterator ( UnicodeFilter adoptedFilter = 0 )

Constructs a transliterator.

Parameters:
adoptedFilterthe filter for this transliterator.

Constructs a transliterator with the default delimiters '{' and '}'.

Definition at line 59 of file name2uni.cpp.

References legal, and NULL.

Referenced by clone().

                                                                                 :
    Transliterator(UNICODE_STRING("Name-Any", 8), adoptedFilter) {

    UnicodeSet *legalPtr = &legal;
    // Get the legal character set
    USetAdder sa = {
        (USet *)legalPtr, // USet* == UnicodeSet*
        _set_add,
        NULL, // Don't need _set_addRange
        NULL, // Don't need _set_addString
        NULL, // Don't need remove()
        NULL
    };
    uprv_getCharNameCharacters(&sa);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index