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

UBool UnicodeSet::containsAll ( const UnicodeString s  )  const

Returns true if this set contains all 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 all 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 524 of file uniset.cpp.

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

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


Generated by  Doxygen 1.6.0   Back to index