Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE int32_t U_EXPORT2 ubrk_getRuleStatus ( UBreakIterator bi  ) 

Return the status from the break rule that determined the most recently returned break position. The values appear in the rule source within brackets, {123}, for example. For rules that do not specify a status, a default value of 0 is returned.

For word break iterators, the possible values are defined in enum UWordBreak. ICU 2.2

Definition at line 266 of file ubrk.cpp.

{
    return ((RuleBasedBreakIterator *)bi)->RuleBasedBreakIterator::getRuleStatus();
}


Generated by  Doxygen 1.6.0   Back to index