ICU-6066 take UnicodeSet::removeAllStrings() public

X-SVN-Rev: 25556
This commit is contained in:
Andy Heninger 2009-03-12 01:14:10 +00:00
parent 72cf0f3d06
commit 0e1d733bac
3 changed files with 15 additions and 1 deletions

View file

@ -1299,7 +1299,7 @@ public:
* Remove all strings from this set.
*
* @return a reference to this set.
* @internal
* @draft ICU 4.2
*/
virtual UnicodeSet &removeAllStrings();

View file

@ -687,6 +687,15 @@ uset_complementAll(USet* set, const USet* complement);
U_STABLE void U_EXPORT2
uset_clear(USet* set);
/**
* Remove all strings from this set.
*
* @param set the set
* @draft ICU 4.2
*/
U_DRAFT void U_EXPORT2
uset_removeAllStrings(USet* set);
/**
* Returns TRUE if the given USet contains no characters and no
* strings.

View file

@ -149,6 +149,11 @@ uset_clear(USet* set) {
((UnicodeSet*) set)->UnicodeSet::clear();
}
U_CAPI void U_EXPORT2
uset_removeAllStrings(USet* set) {
((UnicodeSet*) set)->UnicodeSet::removeAllStrings();
}
U_CAPI UBool U_EXPORT2
uset_isEmpty(const USet* set) {
return ((const UnicodeSet*) set)->UnicodeSet::isEmpty();