Home | History | Annotate | Download | only in unicode

Lines Matching refs:UnicodeSet

42  * <p>The UnicodeSet class is not designed to be subclassed.
44 * <p><code>UnicodeSet</code> supports two APIs. The first is the
46 * a <code>UnicodeSet</code> object. It conforms to Java 2's
48 * <code>UnicodeSet</code> does not actually implement that
52 * <code>UnicodeSet</code> instead of a <code>Collection</code>. The
69 * attributes of a <code>UnicodeSet</code> at once, based on a
121 * for UnicodeSet at
122 * <a href="http://icu-project.org/userguide/unicodeSet.html">
123 * http://icu-project.org/userguide/unicodeSet.html</a>.
176 * <p><b>Warning</b>: you cannot add an empty string ("") to a UnicodeSet.</p>
265 * - Most UnicodeSet methods do not take a UErrorCode parameter because
270 * Instead, such methods set the UnicodeSet into a "bogus" state
276 class U_COMMON_API UnicodeSet U_FINAL : public UnicodeFilter {
317 * Make this UnicodeSet object invalid.
323 * This utility function is used throughout the UnicodeSet
324 * implementation to indicate that a UnicodeSet operation failed,
338 * Minimum value that can be stored in a UnicodeSet.
344 * Maximum value that can be stored in a UnicodeSet.
360 UnicodeSet();
370 UnicodeSet(UChar32 start, UChar32 end);
390 UnicodeSet(const uint16_t buffer[], int32_t bufferLen,
402 UnicodeSet(const UnicodeString& pattern,
418 UnicodeSet(const UnicodeString& pattern,
437 UnicodeSet(const UnicodeString& pattern, ParsePosition& pos,
443 * Constructs a set that is identical to the given UnicodeSet.
446 UnicodeSet(const UnicodeSet& o);
452 virtual ~UnicodeSet();
459 UnicodeSet& operator=(const UnicodeSet& o);
472 virtual UBool operator==(const UnicodeSet& o) const;
479 UBool operator!=(const UnicodeSet& o) const;
502 * Get a UnicodeSet pointer from a USet
504 * @param uset a USet (the ICU plain C type for UnicodeSet)
505 * @return the corresponding UnicodeSet pointer.
509 inline static UnicodeSet *fromUSet(USet *uset);
512 * Get a UnicodeSet pointer from a const USet
514 * @param uset a const USet (the ICU plain C type for UnicodeSet)
515 * @return the corresponding UnicodeSet pointer.
519 inline static const UnicodeSet *fromUSet(const USet *uset);
522 * Produce a USet * pointer for this UnicodeSet.
523 * USet is the plain C type for UnicodeSet
525 * @return a USet pointer for this UnicodeSet
532 * Produce a const USet * pointer for this UnicodeSet.
533 * USet is the plain C type for UnicodeSet
535 * @return a const USet pointer for this UnicodeSet
594 UnicodeSet& set(UChar32 start, UChar32 end);
598 * to be the start of a UnicodeSet pattern.
616 UnicodeSet& applyPattern(const UnicodeString& pattern,
636 UnicodeSet& applyPattern(const UnicodeString& pattern,
673 UnicodeSet& applyPattern(const UnicodeString& pattern,
681 * calling this function is passed to a UnicodeSet constructor, it
717 UnicodeSet& applyIntPropertyValue(UProperty prop,
750 UnicodeSet& applyPropertyAlias(const UnicodeString& prop,
807 virtual UBool containsAll(const UnicodeSet& c) const;
835 UBool containsNone(const UnicodeSet& c) const;
863 inline UBool containsSome(const UnicodeSet& s) const;
1037 virtual void addMatchSetTo(UnicodeSet& toUnionTo) const;
1074 virtual UnicodeSet& add(UChar32 start, UChar32 end);
1083 UnicodeSet& add(UChar32 c);
1090 * <br><b>Warning: you cannot add an empty string ("") to a UnicodeSet.</b>
1096 UnicodeSet& add(const UnicodeString& s);
1117 UnicodeSet& addAll(const UnicodeString& s);
1127 UnicodeSet& retainAll(const UnicodeString& s);
1137 UnicodeSet& complementAll(const UnicodeString& s);
1147 UnicodeSet& removeAll(const UnicodeString& s);
1151 * <br><b>Warning: you cannot add an empty string ("") to a UnicodeSet.</b>
1157 static UnicodeSet* U_EXPORT2 createFrom(const UnicodeString& s);
1167 static UnicodeSet* U_EXPORT2 createFromAll(const UnicodeString& s);
1182 virtual UnicodeSet& retain(UChar32 start, UChar32 end);
1190 UnicodeSet& retain(UChar32 c);
1205 virtual UnicodeSet& remove(UChar32 start, UChar32 end);
1214 UnicodeSet& remove(UChar32 c);
1225 UnicodeSet& remove(const UnicodeString& s);
1234 virtual UnicodeSet& complement(void);
1250 virtual UnicodeSet& complement(UChar32 start, UChar32 end);
1259 UnicodeSet& complement(UChar32 c);
1265 * <br><b>Warning: you cannot add an empty string ("") to a UnicodeSet.</b>
1271 UnicodeSet& complement(const UnicodeString& s);
1285 virtual UnicodeSet& addAll(const UnicodeSet& c);
1298 virtual UnicodeSet& retainAll(const UnicodeSet& c);
1311 virtual UnicodeSet& removeAll(const UnicodeSet& c);
1323 virtual UnicodeSet& complementAll(const UnicodeSet& c);
1331 virtual UnicodeSet& clear(void);
1358 UnicodeSet& closeOver(int32_t attribute);
1366 virtual UnicodeSet &removeAllStrings();
1451 virtual UnicodeSet& compact();
1506 UnicodeSet(const UnicodeSet& o, UBool /* asThawed */);
1521 UnicodeSet& (UnicodeSet::*caseClosure)(int32_t attribute),
1569 * and set this UnicodeSet to the result.
1606 UnicodeSet& applyPropertyPattern(const UnicodeString& pattern,
1615 static const UnicodeSet* getInclusions(int32_t src, UErrorCode &status);
1619 * included in the UnicodeSet being constructed.
1624 * Given a filter, set this UnicodeSet to the code points
1651 inline UBool UnicodeSet::operator!=(const UnicodeSet& o) const {
1655 inline UBool UnicodeSet::isFrozen() const {
1659 inline UBool UnicodeSet::containsSome(UChar32 start, UChar32 end) const {
1663 inline UBool UnicodeSet::containsSome(const UnicodeSet& s) const {
1667 inline UBool UnicodeSet::containsSome(const UnicodeString& s) const {
1671 inline UBool UnicodeSet::isBogus() const {
1675 inline UnicodeSet *UnicodeSet::fromUSet(USet *uset) {
1676 return reinterpret_cast<UnicodeSet *>(uset);
1679 inline const UnicodeSet *UnicodeSet::fromUSet(const USet *uset) {
1680 return reinterpret_cast<const UnicodeSet *>(uset);
1683 inline USet *UnicodeSet::toUSet() {
1687 inline const USet *UnicodeSet::toUSet() const {
1691 inline int32_t UnicodeSet::span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const {
1701 inline int32_t UnicodeSet::spanBack(const UnicodeString &s, int32_t limit, USetSpanCondition spanCondition) const {