u5e
UnicodeTextC++Library
List of all members
u5e::utf32ne Class Reference

Architecture-specific type to interface UTF32BE or UTF32LE. More...

#include <u5e/utf32ne.hpp>

template<typename NativeString >
using iterator = typename NativeString::iterator
 
template<typename NativeString >
using const_iterator = typename NativeString::const_iterator
 
template<typename NativeString >
static NativeString::const_iterator native_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

Architecture-specific type to interface UTF32BE or UTF32LE.

utf32ne is not an encoding. It is a type that should be used to interface with either UTF32BE or with UTF32LE depending on what the native endianess is.

Because utf32 with the native endianess can be used natively, there's no special logic and everything is delegated to the native types.

Definition at line 20 of file utf32ne.hpp.

Member Typedef Documentation

template<typename NativeString >
using u5e::utf32ne::const_iterator = typename NativeString::const_iterator

Delegate to the underlying iterator

Definition at line 30 of file utf32ne.hpp.

template<typename NativeString >
using u5e::utf32ne::iterator = typename NativeString::iterator

Delegate to the underlying iterator

Definition at line 27 of file utf32ne.hpp.

Member Function Documentation

template<typename InputNativeIterator , typename OutputNativeString >
static void u5e::utf32ne::append_from_utf32ne ( InputNativeIterator  first,
InputNativeIterator  last,
OutputNativeString &  output 
)
inlinestatic

Delegate to the underlying iterator

Definition at line 40 of file utf32ne.hpp.

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

Delegate to the underlying iterator

Definition at line 34 of file utf32ne.hpp.


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