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

U_STABLE UBool U_EXPORT2 uset_containsAllCodePoints ( const USet set,
const UChar *  str,
int32_t  strLen 

Returns true if this set contains all the characters of the given string. This is does not check containment of grapheme clusters, like uset_containsString.

set set of characters to be checked for containment
str string containing codepoints to be checked for containment
strLen the length of the string or -1 if null terminated.
true if the test condition is met ICU 3.4

Definition at line 189 of file uset.cpp.

    // Create a string alias, since nothing is being added to the set.
    UnicodeString s(strLen==-1, str, strLen);
    return ((const UnicodeSet*) set)->UnicodeSet::containsAll(s);

Generated by  Doxygen 1.6.0   Back to index