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

ICU 2.4

Enumerator:
USEARCH_DEFAULT  Default value for any USearchAttribute
USEARCH_OFF  Value for USEARCH_OVERLAP and USEARCH_CANONICAL_MATCH
USEARCH_ON  Value for USEARCH_OVERLAP and USEARCH_CANONICAL_MATCH
USEARCH_STANDARD_ELEMENT_COMPARISON  Value (default) for USEARCH_ELEMENT_COMPARISON; standard collation element comparison at the specified collator strength. ICU 4.4
USEARCH_PATTERN_BASE_WEIGHT_IS_WILDCARD  Value for USEARCH_ELEMENT_COMPARISON; collation element comparison is modified to effectively provide behavior between the specified strength and strength - 1. Collation elements in the pattern that have the base weight for the specified strength are treated as "wildcards" that match an element with any other weight at that collation level in the searched text. For example, with a secondary-strength English collator, a plain 'e' in the pattern will match a plain e or an e with any diacritic in the searched text, but an e with diacritic in the pattern will only match an e with the same diacritic in the searched text. ICU 4.4
USEARCH_ANY_BASE_WEIGHT_IS_WILDCARD  Value for USEARCH_ELEMENT_COMPARISON. collation element comparison is modified to effectively provide behavior between the specified strength and strength - 1. Collation elements in either the pattern or the searched text that have the base weight for the specified strength are treated as "wildcards" that match an element with any other weight at that collation level. For example, with a secondary-strength English collator, a plain 'e' in the pattern will match a plain e or an e with any diacritic in the searched text, but an e with diacritic in the pattern will only match an e with the same diacritic or a plain e in the searched text. ICU 4.4

Definition at line 177 of file usearch.h.

             {
    /** Default value for any USearchAttribute */
    USEARCH_DEFAULT = -1,
    /** Value for USEARCH_OVERLAP and USEARCH_CANONICAL_MATCH */
    USEARCH_OFF, 
    /** Value for USEARCH_OVERLAP and USEARCH_CANONICAL_MATCH */
    USEARCH_ON,
    /** 
     * Value (default) for USEARCH_ELEMENT_COMPARISON;
     * standard collation element comparison at the specified collator
     * strength.
     * @draft ICU 4.4
     */
    USEARCH_STANDARD_ELEMENT_COMPARISON,
    /** 
     * Value for USEARCH_ELEMENT_COMPARISON;
     * collation element comparison is modified to effectively provide
     * behavior between the specified strength and strength - 1. Collation
     * elements in the pattern that have the base weight for the specified
     * strength are treated as "wildcards" that match an element with any
     * other weight at that collation level in the searched text. For
     * example, with a secondary-strength English collator, a plain 'e' in
     * the pattern will match a plain e or an e with any diacritic in the
     * searched text, but an e with diacritic in the pattern will only
     * match an e with the same diacritic in the searched text.
     * @draft ICU 4.4
     */
    USEARCH_PATTERN_BASE_WEIGHT_IS_WILDCARD,
    /** 
     * Value for USEARCH_ELEMENT_COMPARISON.
     * collation element comparison is modified to effectively provide
     * behavior between the specified strength and strength - 1. Collation
     * elements in either the pattern or the searched text that have the
     * base weight for the specified strength are treated as "wildcards"
     * that match an element with any other weight at that collation level.
     * For example, with a secondary-strength English collator, a plain 'e'
     * in the pattern will match a plain e or an e with any diacritic in the
     * searched text, but an e with diacritic in the pattern will only
     * match an e with the same diacritic or a plain e in the searched text.
     * @draft ICU 4.4
     */
    USEARCH_ANY_BASE_WEIGHT_IS_WILDCARD,

    USEARCH_ATTRIBUTE_VALUE_COUNT
} USearchAttributeValue;


Generated by  Doxygen 1.6.0   Back to index