Home | History | Annotate | Download | only in unicode

Lines Matching full:collator

10  * \brief C++ API: RuleBasedCollator class provides the simple implementation of Collator.
31 * to be used by Collator::createDefault(). General
49 * 11/02/99 helena Collator performance enhancements. Eliminates the
85 * Collator, using data-driven tables. The user can create a customized
108 * @see Collator
111 class U_I18N_API RuleBasedCollator : public Collator
181 /** Opens a collator from a collator binary image created using
183 * collator remains owned by the user and should stay around for
184 * the lifetime of the collator. The API also takes a base collator
187 * lifetime of the collator
190 * @param base fallback collator, usually UCA. Base is required to be
191 * present through the lifetime of the collator. Currently
194 * @return newly created collator
220 * @param other Collator object to be compared.
224 virtual UBool operator==(const Collator& other) const;
228 * @param other Collator object to be compared
232 virtual UBool operator!=(const Collator& other) const;
240 virtual Collator* clone(void) const;
249 * the based Collator.
261 * based Collator.
343 * . Collator *myCollation =
344 * . Collator::createInstance(Locale::US, status);
346 * . myCollation->setStrength(Collator::PRIMARY);
347 * . // result would be Collator::EQUAL ("abc" == "ABC")
349 * . Collator::EComparisonResult result =
351 * . myCollation->setStrength(Collator::TERTIARY);
352 * . // result would be Collator::LESS ("abc" <<< "ABC")
392 * Compares two strings using the Collator.
448 * Gets the locale of the Collator
453 * @return locale where the collation data lives. If the collator
468 * Gets the version information for a Collator.
522 /** Creates a binary image of a collator. This binary image can be stored and
523 * later used to instantiate a collator using ucol_openBinary.
596 * Gets the variable top value of a Collator.
605 * this collator.
619 virtual Collator* safeClone(void);
670 * Retrieves the reordering codes for this collator.
678 * @see Collator#getEquivalentReorderCodes
679 * @see Collator#setReorderCodes
687 * Sets the ordering of scripts for this collator.
689 * length is also set to 0. An empty array will clear any reordering codes on the collator.
692 * @see Collator#getReorderCodes
693 * @see Collator#getEquivalentReorderCodes
712 * @see Collator#getReorderCodes
713 * @see Collator#setReorderCodes
794 * Collator ONLY needs access to RuleBasedCollator(const Locale&,
797 friend class Collator;
813 * only caller of this class should be Collator::createInstance(). If
857 * @param collator new ucollator data
859 void setUCollator(UCollator *collator);
893 Collator::EComparisonResult getEComparisonResult(
901 Collator::ECollationStrength getECollationStrength(
910 const Collator::ECollationStrength &strength) const;
922 inline void RuleBasedCollator::setUCollator(UCollator *collator)
928 ucollator = collator;
939 inline Collator::EComparisonResult RuleBasedCollator::getEComparisonResult(
945 return Collator::LESS;
947 return Collator::EQUAL;
949 return Collator::GREATER;
953 inline Collator::ECollationStrength RuleBasedCollator::getECollationStrength(
959 return Collator::PRIMARY;
961 return Collator::SECONDARY;
963 return Collator::TERTIARY;
965 return Collator::QUATERNARY;
967 return Collator::IDENTICAL;
972 const Collator::ECollationStrength &strength) const
976 case Collator::PRIMARY :
978 case Collator::SECONDARY :
980 case Collator::TERTIARY :
982 case Collator::QUATERNARY :