![]() |
tinyutf8 4.0.2
Unicode (UTF-8) capable std::string
|
#include <tinyutf8.h>
Public Types | |
typedef Container::value_type | value_type |
typedef Container::difference_type | difference_type |
typedef raw_codepoint_reference< Container, false > | reference |
typedef void * | pointer |
typedef std::bidirectional_iterator_tag | iterator_category |
Public Member Functions | |
bool | operator== (const iterator_base &it) const noexcept |
bool | operator!= (const iterator_base &it) const noexcept |
iterator_base (difference_type index, Container *instance) noexcept | |
Ctor. | |
iterator_base () noexcept=default | |
Default function. | |
iterator_base (const iterator_base &) noexcept=default | |
iterator_base & | operator= (const iterator_base &) noexcept=default |
Container * | get_instance () const noexcept |
Getter for the instance. | |
iterator_base (iterator_base< Container, false > other) noexcept | |
Constructor from non-raw iterator. | |
operator iterator_base< Container, false > () const noexcept | |
Cast to non-raw iterator. | |
difference_type | get_index () const noexcept |
difference_type | get_raw_index () const noexcept |
Get the index of the codepoint the iterator points to. | |
reference | get_reference () const noexcept |
Get a reference to the codepoint the iterator points to. | |
value_type | get_value () const noexcept |
Get the value that the iterator points to. | |
Protected Member Functions | |
void | advance (difference_type n) noexcept |
Advance the iterator n times (negative values allowed!) | |
void | increment () noexcept |
Move the iterator one codepoint ahead. | |
void | decrement () noexcept |
Move the iterator one codepoint backwards. | |
Protected Attributes | |
difference_type | t_index |
Container * | t_instance = nullptr |
Friends | |
template<typename , typename , typename > | |
class | basic_string |
typedef Container::difference_type tiny_utf8::iterator_base< Container, true >::difference_type |
typedef std::bidirectional_iterator_tag tiny_utf8::iterator_base< Container, true >::iterator_category |
typedef raw_codepoint_reference<Container, false> tiny_utf8::iterator_base< Container, true >::reference |
typedef Container::value_type tiny_utf8::iterator_base< Container, true >::value_type |
|
inlinenoexcept |
Ctor.
|
defaultnoexcept |
Default function.
|
defaultnoexcept |
|
inlinenoexcept |
Constructor from non-raw iterator.
|
inlineprotectednoexcept |
Advance the iterator n times (negative values allowed!)
|
inlineprotectednoexcept |
Move the iterator one codepoint backwards.
|
inlinenoexcept |
|
inlinenoexcept |
Getter for the instance.
|
inlinenoexcept |
Get the index of the codepoint the iterator points to.
|
inlinenoexcept |
Get a reference to the codepoint the iterator points to.
|
inlinenoexcept |
Get the value that the iterator points to.
|
inlineprotectednoexcept |
Move the iterator one codepoint ahead.
|
inlinenoexcept |
Cast to non-raw iterator.
|
inlinenoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
friend |
|
protected |
|
protected |