38 #if !UCONFIG_NO_COLLATION
130 NULLORDER = (int32_t)0xffffffff
199 static inline int32_t primaryOrder(int32_t order);
207 static inline int32_t secondaryOrder(int32_t order);
215 static inline int32_t tertiaryOrder(int32_t order);
226 int32_t getMaxExpansion(int32_t order)
const;
234 int32_t strengthOrder(int32_t order)
const;
258 static inline UBool isIgnorable(int32_t order);
265 int32_t getOffset(
void)
const;
274 void setOffset(int32_t newOffset,
UErrorCode& status);
288 static UClassID U_EXPORT2 getStaticClassID();
359 inline int32_t CollationElementIterator::primaryOrder(int32_t order)
361 order &= RuleBasedCollator::PRIMARYORDERMASK;
362 return (order >> RuleBasedCollator::PRIMARYORDERSHIFT);
370 inline int32_t CollationElementIterator::secondaryOrder(int32_t order)
372 order = order & RuleBasedCollator::SECONDARYORDERMASK;
373 return (order >> RuleBasedCollator::SECONDARYORDERSHIFT);
381 inline int32_t CollationElementIterator::tertiaryOrder(int32_t order)
383 return (order &= RuleBasedCollator::TERTIARYORDERMASK);
386 inline int32_t CollationElementIterator::getMaxExpansion(int32_t order)
const
391 inline UBool CollationElementIterator::isIgnorable(int32_t order)
393 return (primaryOrder(order) == RuleBasedCollator::PRIMIGNORABLE);