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
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 

Detailed Description

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

Definition at line 266 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 274 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 273 of file utf8_checked.hh.

◆ pointer

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

Definition at line 276 of file utf8_checked.hh.

◆ reference

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

Definition at line 277 of file utf8_checked.hh.

◆ value_type

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

Definition at line 275 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 280 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 292 of file utf8_checked.hh.

◆ operator*()

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

Definition at line 293 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 307 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 312 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 318 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 323 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 298 of file utf8_checked.hh.


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