Converts wchar_t characters to Unicode codepoints. More...
#include <opennurbs_textiterator.h>
Public Member Functions | |
ON_TextIterator (const ON_wString &str) | |
ON_TextIterator (const wchar_t *str, size_t length) | |
ON_TextIterator (const ON_TextIterator &)=default | |
~ON_TextIterator ()=default | |
bool | AtBackslashTic () const |
bool | Back () |
ON_TextIterator & | operator= (const ON_TextIterator &)=default |
bool | PeekCodePoint (ON__UINT32 &unicode_code_point) const |
bool | ReadCharValue (unsigned char &c) |
bool | ReadCodePoint (ON__UINT32 &unicode_code_point) |
Gets the current unicode code point and calls Step() to advance the text iterator by one code point. More... | |
bool | Step () |
Converts wchar_t characters to Unicode codepoints.
ON_TextIterator::ON_TextIterator | ( | const ON_wString & | str | ) |
ON_TextIterator::ON_TextIterator | ( | const wchar_t * | str, |
size_t | length | ||
) |
|
default |
|
default |
bool ON_TextIterator::AtBackslashTic | ( | ) | const |
bool ON_TextIterator::Back | ( | ) |
|
default |
bool ON_TextIterator::PeekCodePoint | ( | ON__UINT32 & | unicode_code_point | ) | const |
unicode_code_point | [out] current unicode code point returned here. 0 = end of string |
bool ON_TextIterator::ReadCharValue | ( | unsigned char & | c | ) |
bool ON_TextIterator::ReadCodePoint | ( | ON__UINT32 & | unicode_code_point | ) |
Gets the current unicode code point and calls Step() to advance the text iterator by one code point.
unicode_code_point | [out] current unicode code point returned here. 0 = end of string |
bool ON_TextIterator::Step | ( | ) |