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

U_STABLE void U_EXPORT2 uset_retain ( USet set,
UChar32  start,
UChar32  end 
)

Retain only the elements in this set that are contained in the specified range. If start > end then an empty range is retained, leaving the set empty. This is equivalent to a boolean logic AND, or a set INTERSECTION. A frozen set will not be modified.

Parameters:
set the object for which to retain only the specified range
start first character, inclusive, of range to be retained to this set.
end last character, inclusive, of range to be retained to this set. ICU 3.2

Definition at line 123 of file uset.cpp.

                                                   {
    ((UnicodeSet*) set)->UnicodeSet::retain(start, end);
}


Generated by  Doxygen 1.6.0   Back to index