38 #if !UCONFIG_NO_COLLATION
126 NULLORDER = (int32_t)0xffffffff
195 static inline int32_t primaryOrder(int32_t order);
203 static inline int32_t secondaryOrder(int32_t order);
211 static inline int32_t tertiaryOrder(int32_t order);
222 int32_t getMaxExpansion(int32_t order)
const;
230 int32_t strengthOrder(int32_t order)
const;
254 static inline UBool isIgnorable(int32_t order);
261 int32_t getOffset(
void)
const;
270 void setOffset(int32_t newOffset,
UErrorCode& status);
284 static UClassID U_EXPORT2 getStaticClassID();
343 inline int32_t CollationElementIterator::primaryOrder(int32_t order)
345 order &= RuleBasedCollator::PRIMARYORDERMASK;
346 return (order >> RuleBasedCollator::PRIMARYORDERSHIFT);
354 inline int32_t CollationElementIterator::secondaryOrder(int32_t order)
356 order = order & RuleBasedCollator::SECONDARYORDERMASK;
357 return (order >> RuleBasedCollator::SECONDARYORDERSHIFT);
365 inline int32_t CollationElementIterator::tertiaryOrder(int32_t order)
367 return (order &= RuleBasedCollator::TERTIARYORDERMASK);
370 inline int32_t CollationElementIterator::getMaxExpansion(int32_t order)
const
375 inline UBool CollationElementIterator::isIgnorable(int32_t order)
377 return (primaryOrder(order) == RuleBasedCollator::PRIMIGNORABLE);