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

U_STABLE void U_EXPORT2 uset_addAllCodePoints ( USet set,
const UChar *  str,
int32_t  strLen 

Adds each of the characters in this string to the set. Thus "ch" => {"c", "h"} If this set already any particular character, it has no effect on that character. A frozen set will not be modified.

set the object to which to add the character
str the source string
strLen the length of the string or -1 if null terminated. ICU 3.4

Definition at line 95 of file uset.cpp.

    // UnicodeString handles -1 for strLen
    UnicodeString s(str, strLen);
    ((UnicodeSet*) set)->UnicodeSet::addAll(s);

Generated by  Doxygen 1.6.0   Back to index