u5e
UnicodeTextC++Library
Public Types | Static Public Member Functions | List of all members
u5e::utf8 Class Reference

Encoding type for UTF8 text. Unlike UTF16 and UTF32, UTF8 is endian independent. More...

#include <u5e/utf8.hpp>

Public Types

template<typename NativeString >
using iterator = utf8_iterator< typename NativeString::iterator >
 
template<typename NativeString >
using const_iterator = utf8_const_iterator< typename NativeString::const_iterator >
 

Static Public Member Functions

template<typename NativeString >
static NativeString::const_iterator native_const_iterator (utf8_const_iterator< typename NativeString::const_iterator > it)
 
template<typename InputNativeIterator , typename OutputNativeString >
static void append_from_utf32ne (InputNativeIterator first, InputNativeIterator last, OutputNativeString &output)
 

Detailed Description

Encoding type for UTF8 text. Unlike UTF16 and UTF32, UTF8 is endian independent.

Definition at line 17 of file utf8.hpp.

Member Typedef Documentation

template<typename NativeString >
using u5e::utf8::const_iterator = utf8_const_iterator<typename NativeString::const_iterator>

Delegated to utf8_const_iterator of the native type

Template Parameters
NativeStringthe native string type with utf8 data

Definition at line 34 of file utf8.hpp.

template<typename NativeString >
using u5e::utf8::iterator = utf8_iterator<typename NativeString::iterator>

Delegated to utf8_iterator of the native type.

Template Parameters
NativeStringthe native string type with utf8 data

Definition at line 26 of file utf8.hpp.

Member Function Documentation

template<typename NativeString >
static NativeString::const_iterator u5e::utf8::native_const_iterator ( utf8_const_iterator< typename NativeString::const_iterator >  it)
inlinestatic

Get access to the native const_iterator with the native data.

Definition at line 42 of file utf8.hpp.


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