openMSX
Classes | Namespaces | Functions
utf8_checked.hh File Reference
#include "utf8_core.hh"
#include "zstring_view.hh"
#include <stdexcept>
Include dependency graph for utf8_checked.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utf8::invalid_code_point
 
class  utf8::invalid_utf8
 
class  utf8::invalid_utf16
 
class  utf8::not_enough_room
 
class  utf8::iterator< octet_iterator >
 

Namespaces

namespace  utf8
 

Functions

template<typename octet_iterator , typename output_iterator >
output_iterator utf8::replace_invalid (octet_iterator start, octet_iterator end, output_iterator out, uint32_t replacement)
 
template<typename octet_iterator , typename output_iterator >
output_iterator utf8::replace_invalid (octet_iterator start, octet_iterator end, output_iterator out)
 
template<typename octet_iterator >
octet_iterator utf8::append (uint32_t cp, octet_iterator result)
 
template<typename octet_iterator >
uint32_t utf8::next (octet_iterator &it, octet_iterator end)
 
template<typename octet_iterator >
uint32_t utf8::peek_next (octet_iterator it, octet_iterator end)
 
template<typename octet_iterator >
uint32_t utf8::prior (octet_iterator &it, octet_iterator start)
 
template<typename octet_iterator , typename distance_type >
void utf8::advance (octet_iterator &it, distance_type n, octet_iterator end)
 
template<typename octet_iterator >
auto utf8::distance (octet_iterator first, octet_iterator last)
 
template<typename u16bit_iterator , typename octet_iterator >
octet_iterator utf8::utf16to8 (u16bit_iterator start, u16bit_iterator end, octet_iterator result)
 
template<typename u16bit_iterator , typename octet_iterator >
u16bit_iterator utf8::utf8to16 (octet_iterator start, octet_iterator end, u16bit_iterator result)
 
template<typename octet_iterator , typename u32bit_iterator >
octet_iterator utf8::utf32to8 (u32bit_iterator start, u32bit_iterator end, octet_iterator result)
 
template<typename octet_iterator , typename u32bit_iterator >
u32bit_iterator utf8::utf8to32 (octet_iterator start, octet_iterator end, u32bit_iterator result)