15#ifndef CODEPOINTITERATOR_INTERNAL_H
16#define CODEPOINTITERATOR_INTERNAL_H
18#include <unicode/brkiter.h>
19#include <unicode/unistr.h>
21using icu::BreakIterator;
22using icu::CharacterIterator;
23using icu::UnicodeString;
40#if U_ICU_VERSION_MAJOR_NUM >= 70
50 CharacterIterator&
getText(
void)
const override;
62 int32_t
last(
void)
override;
66 int32_t
next(
void)
override;
76 int32_t
next(int32_t
n)
override;
80 UErrorCode &
status)
override;
86 return this->lastCodePoint;
91 UChar32 lastCodePoint;
92 mutable CharacterIterator *fCharIter;
94 inline void clearCurrentCharIter()
96 delete this->fCharIter;
97 this->fCharIter =
NULL;
98 this->lastCodePoint = U_SENTINEL;
int32_t following(int32_t offset) override
UText * getUText(UText *fillIn, UErrorCode &status) const override
~CodePointBreakIterator() override
int32_t previous(void) override
UClassID getDynamicClassID(void) const override
CodePointBreakIterator & refreshInputText(UText *input, UErrorCode &status) override
static UClassID getStaticClassID()
int32_t last(void) override
void setText(const UnicodeString &text) override
CodePointBreakIterator * createBufferClone(void *stackBuffer, int32_t &BufferSize, UErrorCode &status) override
int32_t next(void) override
CharacterIterator & getText(void) const override
int32_t current(void) const override
int32_t next(int32_t n) override
int32_t preceding(int32_t offset) override
UBool operator==(const BreakIterator &that) const override
CodePointBreakIterator * clone(void) const override
void adoptText(CharacterIterator *it) override
int32_t first(void) override
CodePointBreakIterator & operator=(const CodePointBreakIterator &that)
UBool isBoundary(int32_t offset) override
void setText(UText *text, UErrorCode &status) override
CodePointBreakIterator(const CodePointBreakIterator &other)
UChar32 getLastCodePoint()
unsigned const char * text