openMSX
Public Types | Public Member Functions | List of all members
utf8::iterator< octet_iterator > Class Template Reference

#include <utf8_checked.hh>

Public Types

using iterator_category = std::bidirectional_iterator_tag
 
using difference_type = ptrdiff_t
 
using value_type = uint32_t
 
using pointer = uint32_t *
 
using reference = uint32_t &
 

Public Member Functions

 iterator ()=default
 
 iterator (const octet_iterator &octet_it, const octet_iterator &range_start_, const octet_iterator &range_end_)
 
octet_iterator base () const
 
uint32_t operator* () const
 
bool operator== (const iterator &rhs) const
 
bool operator!= (const iterator &rhs) const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 

Detailed Description

template<typename octet_iterator>
class utf8::iterator< octet_iterator >

Definition at line 264 of file utf8_checked.hh.

Member Typedef Documentation

◆ difference_type

template<typename octet_iterator >
using utf8::iterator< octet_iterator >::difference_type = ptrdiff_t

Definition at line 272 of file utf8_checked.hh.

◆ iterator_category

template<typename octet_iterator >
using utf8::iterator< octet_iterator >::iterator_category = std::bidirectional_iterator_tag

Definition at line 271 of file utf8_checked.hh.

◆ pointer

template<typename octet_iterator >
using utf8::iterator< octet_iterator >::pointer = uint32_t*

Definition at line 274 of file utf8_checked.hh.

◆ reference

template<typename octet_iterator >
using utf8::iterator< octet_iterator >::reference = uint32_t&

Definition at line 275 of file utf8_checked.hh.

◆ value_type

template<typename octet_iterator >
using utf8::iterator< octet_iterator >::value_type = uint32_t

Definition at line 273 of file utf8_checked.hh.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename octet_iterator >
utf8::iterator< octet_iterator >::iterator ( )
default

◆ iterator() [2/2]

template<typename octet_iterator >
utf8::iterator< octet_iterator >::iterator ( const octet_iterator< octet_iterator > &  octet_it,
const octet_iterator< octet_iterator > &  range_start_,
const octet_iterator< octet_iterator > &  range_end_ 
)
inline

Definition at line 278 of file utf8_checked.hh.

Member Function Documentation

◆ base()

template<typename octet_iterator >
octet_iterator utf8::iterator< octet_iterator >::base ( ) const
inline

Definition at line 290 of file utf8_checked.hh.

◆ operator!=()

template<typename octet_iterator >
bool utf8::iterator< octet_iterator >::operator!= ( const iterator< octet_iterator > &  rhs) const
inline

Definition at line 305 of file utf8_checked.hh.

References utf8::iterator< octet_iterator >::operator==().

◆ operator*()

template<typename octet_iterator >
uint32_t utf8::iterator< octet_iterator >::operator* ( ) const
inline

Definition at line 291 of file utf8_checked.hh.

References utf8::next().

◆ operator++() [1/2]

template<typename octet_iterator >
iterator& utf8::iterator< octet_iterator >::operator++ ( )
inline

Definition at line 309 of file utf8_checked.hh.

References utf8::next().

◆ operator++() [2/2]

template<typename octet_iterator >
iterator utf8::iterator< octet_iterator >::operator++ ( int  )
inline

Definition at line 314 of file utf8_checked.hh.

References utf8::next().

◆ operator--() [1/2]

template<typename octet_iterator >
iterator& utf8::iterator< octet_iterator >::operator-- ( )
inline

Definition at line 320 of file utf8_checked.hh.

References utf8::prior().

◆ operator--() [2/2]

template<typename octet_iterator >
iterator utf8::iterator< octet_iterator >::operator-- ( int  )
inline

Definition at line 325 of file utf8_checked.hh.

References utf8::prior().

◆ operator==()

template<typename octet_iterator >
bool utf8::iterator< octet_iterator >::operator== ( const iterator< octet_iterator > &  rhs) const
inline

Definition at line 296 of file utf8_checked.hh.

Referenced by utf8::iterator< octet_iterator >::operator!=().


The documentation for this class was generated from the following file: