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

UBool UnicodeSet::containsNone ( const UnicodeString s  )  const

Returns true if this set contains none of the characters of the given string.

Parameters:
s string containing characters to be checked for containment
Returns:
true if the test condition is met ICU 2.4
Returns true if this set contains none of the characters of the given string.
Parameters:
s string containing characters to be checked for containment
Returns:
true if the test condition is met

Definition at line 571 of file uniset.cpp.

References UnicodeString::getBuffer(), UnicodeString::length(), span(), and USET_SPAN_NOT_CONTAINED.

                                                           {
    return (UBool)(span(s.getBuffer(), s.length(), USET_SPAN_NOT_CONTAINED) ==
                   s.length());
}


Generated by  Doxygen 1.6.0   Back to index