#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 |
| typedef Container::value_type | value_type |
| typedef Container::difference_type | difference_type |
| typedef codepoint_reference< Container, false > | reference |
| typedef void * | pointer |
| typedef std::random_access_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. | |
| 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. | |
| 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. | |
| 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 |
| difference_type | t_index |
| Container * | t_instance |
Friends | |
| template<typename, typename, typename> | |
| class | basic_string |
| class | basic_string |
| typedef Container::difference_type tiny_utf8::iterator_base< Container, Raw >::difference_type |
| typedef Container::difference_type tiny_utf8::iterator_base< Container, true >::difference_type |
| typedef std::random_access_iterator_tag tiny_utf8::iterator_base< Container, Raw >::iterator_category |
| typedef std::bidirectional_iterator_tag tiny_utf8::iterator_base< Container, true >::iterator_category |
| typedef void* tiny_utf8::iterator_base< Container, Raw >::pointer |
| typedef void* tiny_utf8::iterator_base< Container, true >::pointer |
| typedef codepoint_reference<Container, false> tiny_utf8::iterator_base< Container, Raw >::reference |
| typedef raw_codepoint_reference<Container, false> tiny_utf8::iterator_base< Container, true >::reference |
| typedef Container::value_type tiny_utf8::iterator_base< Container, Raw >::value_type |
| typedef Container::value_type tiny_utf8::iterator_base< Container, true >::value_type |
|
inlinenoexcept |
Ctor.
|
defaultnoexcept |
Default function.
|
defaultnoexcept |
|
inlinenoexcept |
Constructor from non-raw iterator.
|
inlinenoexcept |
Ctor.
|
defaultnoexcept |
Default function.
|
defaultnoexcept |
|
inlineprotectednoexcept |
Advance the iterator n times (negative values allowed!)
|
inlineprotectednoexcept |
Advance the iterator n times (negative values allowed!)
|
inlineprotectednoexcept |
Move the iterator one codepoint backwards.
|
inlineprotectednoexcept |
Move the iterator one codepoint backwards.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Getter for the instance.
|
inlinenoexcept |
Getter for the instance.
|
inlinenoexcept |
Get the index of the codepoint the iterator points to.
|
inlinenoexcept |
Get the index of the codepoint the iterator points to.
|
inlinenoexcept |
Get a reference to 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.
|
inlinenoexcept |
Get the value that the iterator points to.
|
inlineprotectednoexcept |
Move the iterator one codepoint ahead.
|
inlineprotectednoexcept |
Move the iterator one codepoint ahead.
|
inlinenoexcept |
Cast to non-raw iterator.
|
inlinenoexcept |
|
inlinenoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |