#include <rbbi_tbl.h>
Inheritance diagram for RuleBasedBreakIteratorTables:
Protected Methods | |
RuleBasedBreakIteratorTables () | |
Creates a tables object, adopting all of the tables that are passed in. | |
RuleBasedBreakIteratorTables (UDataMemory* memory) | |
virtual | ~RuleBasedBreakIteratorTables () |
Destructor. | |
virtual int32_t | lookupCategory (UChar c, BreakIterator* bi) const |
Looks up a character's category (i.e., its category for breaking purposes, not its Unicode category). | |
virtual int32_t | lookupState (int32_t state, int32_t category) const |
Given a current state and a character category, looks up the next state to transition to in the state table. | |
virtual int32_t | lookupBackwardState (int32_t state, int32_t category) const |
Given a current state and a character category, looks up the next state to transition to in the backwards state table. | |
virtual UBool | isEndState (int32_t state) const |
Returns true if the specified state is an accepting state. | |
virtual UBool | isLookaheadState (int32_t state) const |
Returns true if the specified state is a lookahead state. | |
Protected Attributes | |
UBool | ownTables |
Whether or not we own the storage for the tables (the tables may be stored in a memory-mapped file). More... | |
UDataMemory* | fMemory |
Friends | |
class | RuleBasedBreakIterator |
class | DictionaryBasedBreakIterator |
Once created, these tables are immutable, so they can be shared among all break iterators using a particular set of rules. This class uses a reference-counting scheme to manage the sharing.
Definition at line 38 of file rbbi_tbl.h.
|
Creates a tables object, adopting all of the tables that are passed in.
|
|
|
|
Destructor.
|
|
Returns true if the specified state is an accepting state.
|
|
Returns true if the specified state is a lookahead state.
|
|
Given a current state and a character category, looks up the next state to transition to in the backwards state table.
|
|
Looks up a character's category (i.e., its category for breaking purposes, not its Unicode category).
Reimplemented in DictionaryBasedBreakIteratorTables. |
|
Given a current state and a character category, looks up the next state to transition to in the state table.
|
|
Reimplemented in DictionaryBasedBreakIteratorTables. Definition at line 200 of file rbbi_tbl.h. |
|
Definition at line 199 of file rbbi_tbl.h. |
|
Definition at line 104 of file rbbi_tbl.h. |
|
Whether or not we own the storage for the tables (the tables may be stored in a memory-mapped file).
Definition at line 51 of file rbbi_tbl.h. |