Logo Search packages:      
Sourcecode: icu version File versions  Download package

DictionaryBreakEngine Class Reference

#include <dictbe.h>

Inheritance diagram for DictionaryBreakEngine:

LanguageBreakEngine UMemory ThaiBreakEngine

List of all members.


Detailed Description

DictionaryBreakEngine is a kind of LanguageBreakEngine that uses a dictionary to determine language-specific breaks.

After it is constructed a DictionaryBreakEngine may be shared between threads without synchronization.

Definition at line 32 of file dictbe.h.


Public Member Functions

 DictionaryBreakEngine (uint32_t breakTypes)
virtual int32_t findBreaks (UText *text, int32_t startPos, int32_t endPos, UBool reverse, int32_t breakType, UStack &foundBreaks) const
virtual UBool handles (UChar32 c, int32_t breakType) const
virtual ~DictionaryBreakEngine ()

Static Public Member Functions

static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Protected Member Functions

virtual int32_t divideUpDictionaryRange (UText *text, int32_t rangeStart, int32_t rangeEnd, UStack &foundBreaks) const =0
virtual void setCharacters (const UnicodeSet &set)

Private Member Functions

 DictionaryBreakEngine ()

Private Attributes

UnicodeSet fSet
uint32_t fTypes

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index