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

Enum containing attribute values for controling collation behavior. Here are all the allowable values. Not every attribute can take every value. The only universal value is UCOL_DEFAULT, which resets the attribute value to the predefined value for that locale ICU 2.0

Enumerator:
UCOL_DEFAULT  accepted by most attributes
UCOL_PRIMARY  Primary collation strength
UCOL_SECONDARY  Secondary collation strength
UCOL_TERTIARY  Tertiary collation strength
UCOL_DEFAULT_STRENGTH  Default collation strength
UCOL_QUATERNARY  Quaternary collation strength
UCOL_IDENTICAL  Identical collation strength
UCOL_OFF  Turn the feature off - works for UCOL_FRENCH_COLLATION, UCOL_CASE_LEVEL, UCOL_HIRAGANA_QUATERNARY_MODE & UCOL_DECOMPOSITION_MODE
UCOL_ON  Turn the feature on - works for UCOL_FRENCH_COLLATION, UCOL_CASE_LEVEL, UCOL_HIRAGANA_QUATERNARY_MODE & UCOL_DECOMPOSITION_MODE
UCOL_SHIFTED  Valid for UCOL_ALTERNATE_HANDLING. Alternate handling will be shifted
UCOL_NON_IGNORABLE  Valid for UCOL_ALTERNATE_HANDLING. Alternate handling will be non ignorable
UCOL_LOWER_FIRST  Valid for UCOL_CASE_FIRST - lower case sorts before upper case
UCOL_UPPER_FIRST  upper case sorts before lower case

Definition at line 92 of file ucol.h.

             {
  /** accepted by most attributes */
  UCOL_DEFAULT = -1,

  /** Primary collation strength */
  UCOL_PRIMARY = 0,
  /** Secondary collation strength */
  UCOL_SECONDARY = 1,
  /** Tertiary collation strength */
  UCOL_TERTIARY = 2,
  /** Default collation strength */
  UCOL_DEFAULT_STRENGTH = UCOL_TERTIARY,
  UCOL_CE_STRENGTH_LIMIT,
  /** Quaternary collation strength */
  UCOL_QUATERNARY=3,
  /** Identical collation strength */
  UCOL_IDENTICAL=15,
  UCOL_STRENGTH_LIMIT,

  /** Turn the feature off - works for UCOL_FRENCH_COLLATION, 
      UCOL_CASE_LEVEL, UCOL_HIRAGANA_QUATERNARY_MODE
      & UCOL_DECOMPOSITION_MODE*/
  UCOL_OFF = 16,
  /** Turn the feature on - works for UCOL_FRENCH_COLLATION, 
      UCOL_CASE_LEVEL, UCOL_HIRAGANA_QUATERNARY_MODE
      & UCOL_DECOMPOSITION_MODE*/
  UCOL_ON = 17,
  
  /** Valid for UCOL_ALTERNATE_HANDLING. Alternate handling will be shifted */
  UCOL_SHIFTED = 20,
  /** Valid for UCOL_ALTERNATE_HANDLING. Alternate handling will be non ignorable */
  UCOL_NON_IGNORABLE = 21,

  /** Valid for UCOL_CASE_FIRST - 
      lower case sorts before upper case */
  UCOL_LOWER_FIRST = 24,
  /** upper case sorts before lower case */
  UCOL_UPPER_FIRST = 25,

  UCOL_ATTRIBUTE_VALUE_COUNT

} UColAttributeValue;


Generated by  Doxygen 1.6.0   Back to index