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

UnicodeSet & UnicodeSet::removeAll ( const UnicodeSet c  )  [virtual]

Removes from this set all of its elements that are contained in the specified set. This operation effectively modifies this set so that its value is the asymmetric set difference of the two sets. A frozen set will not be modified.

Parameters:
c set that defines which elements will be removed from this set. ICU 2.0
Removes from this set all of its elements that are contained in the specified set. This operation effectively modifies this set so that its value is the asymmetric set difference of the two sets.

Parameters:
c set that defines which elements will be removed from this set.

Definition at line 1348 of file uniset.cpp.

References isBogus(), isFrozen(), len, list, UVector::removeAll(), retain(), and strings.

                                                     {
    if (isFrozen() || isBogus()) {
        return *this;
    }
    retain(c.list, c.len, 2);
    strings->removeAll(*c.strings);
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index