#include <ut_stringbuf.h>
Public Member Functions | |
UTF8Iterator (const UT_UTF8Stringbuf *strbuf) | |
~UTF8Iterator () | |
void | operator= (const char *position) |
UTF8Iterator & | operator++ () |
UTF8Iterator & | operator-- () |
const char * | current () |
const char * | start () |
const char * | end () |
const char * | advance () |
const char * | retreat () |
Private Member Functions | |
bool | sync () |
Private Attributes | |
const UT_UTF8Stringbuf * | m_strbuf |
const char * | m_utfbuf |
const char * | m_utfptr |
UT_UTF8Stringbuf::UTF8Iterator::UTF8Iterator | ( | const UT_UTF8Stringbuf * | strbuf | ) |
References sync().
UT_UTF8Stringbuf::UTF8Iterator::~UTF8Iterator | ( | ) |
const char * UT_UTF8Stringbuf::UTF8Iterator::advance | ( | ) |
References m_utfptr, and sync().
Referenced by XAP_FrameImpl::_updateTitle(), ConvertToClean(), UT_UTF8Stringbuf::decodeURL(), and UT_legalizeFileName().
const char * UT_UTF8Stringbuf::UTF8Iterator::current | ( | ) |
References m_utfptr, and sync().
Referenced by XAP_FrameImpl::_updateTitle(), ConvertToClean(), UT_UTF8Stringbuf::decodeURL(), IE_Imp_RTF::PostProcessAndValidatePanose(), and UT_legalizeFileName().
const char * UT_UTF8Stringbuf::UTF8Iterator::end | ( | void | ) |
References UT_UTF8Stringbuf::byteLength(), m_strbuf, m_utfbuf, and sync().
UTF8Iterator& UT_UTF8Stringbuf::UTF8Iterator::operator++ | ( | ) | [inline] |
UTF8Iterator& UT_UTF8Stringbuf::UTF8Iterator::operator-- | ( | ) | [inline] |
void UT_UTF8Stringbuf::UTF8Iterator::operator= | ( | const char * | position | ) |
References UT_UTF8Stringbuf::byteLength(), m_strbuf, m_utfbuf, m_utfptr, and sync().
const char * UT_UTF8Stringbuf::UTF8Iterator::start | ( | void | ) |
References m_utfbuf, and sync().
Referenced by XAP_FrameImpl::_updateTitle(), ConvertToClean(), IE_Imp_RTF::PostProcessAndValidatePanose(), and UT_legalizeFileName().
bool UT_UTF8Stringbuf::UTF8Iterator::sync | ( | ) | [private] |
References UT_UTF8Stringbuf::byteLength(), UT_UTF8Stringbuf::data(), m_strbuf, m_utfbuf, and m_utfptr.
Referenced by advance(), current(), end(), operator=(), retreat(), start(), and UTF8Iterator().
const UT_UTF8Stringbuf* UT_UTF8Stringbuf::UTF8Iterator::m_strbuf [private] |
Referenced by end(), operator=(), and sync().
const char* UT_UTF8Stringbuf::UTF8Iterator::m_utfbuf [private] |
Referenced by end(), operator=(), retreat(), start(), and sync().
const char* UT_UTF8Stringbuf::UTF8Iterator::m_utfptr [private] |
Referenced by advance(), current(), operator=(), retreat(), and sync().