FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
utf8::unchecked Namespace Reference

Classes

class  iterator
 

Functions

template<typename octet_iterator >
octet_iterator append (uint32_t cp, octet_iterator result)
 
template<typename octet_iterator >
uint32_t next (octet_iterator &it)
 
template<typename octet_iterator >
uint32_t peek_next (octet_iterator it)
 
template<typename octet_iterator >
uint32_t prior (octet_iterator &it)
 
template<typename octet_iterator >
uint32_t previous (octet_iterator &it)
 
template<typename octet_iterator , typename distance_type >
void advance (octet_iterator &it, distance_type n)
 
template<typename octet_iterator >
std::iterator_traits< octet_iterator >::difference_type distance (octet_iterator first, octet_iterator last)
 
template<typename u16bit_iterator , typename octet_iterator >
octet_iterator utf16to8 (u16bit_iterator start, u16bit_iterator end, octet_iterator result)
 
template<typename u16bit_iterator , typename octet_iterator >
u16bit_iterator utf8to16 (octet_iterator start, octet_iterator end, u16bit_iterator result)
 
template<typename octet_iterator , typename u32bit_iterator >
octet_iterator utf32to8 (u32bit_iterator start, u32bit_iterator end, octet_iterator result)
 
template<typename octet_iterator , typename u32bit_iterator >
u32bit_iterator utf8to32 (octet_iterator start, octet_iterator end, u32bit_iterator result)
 

Function Documentation

template<typename octet_iterator , typename distance_type >
void utf8::unchecked::advance ( octet_iterator &  it,
distance_type  n 
)

Definition at line 113 of file unchecked.h.

References next().

Referenced by utf8::unchecked::iterator< octet_iterator >::operator++().

+ Here is the caller graph for this function:

template<typename octet_iterator >
octet_iterator utf8::unchecked::append ( uint32_t  cp,
octet_iterator  result 
)

Definition at line 38 of file unchecked.h.

Referenced by utf16to8(), and utf32to8().

+ Here is the caller graph for this function:

template<typename octet_iterator >
std::iterator_traits<octet_iterator>::difference_type utf8::unchecked::distance ( octet_iterator  first,
octet_iterator  last 
)

Definition at line 121 of file unchecked.h.

References next().

template<typename octet_iterator >
uint32_t utf8::unchecked::next ( octet_iterator &  it)

Definition at line 61 of file unchecked.h.

References utf8::internal::mask8(), and utf8::internal::sequence_length().

Referenced by advance(), distance(), utf8::unchecked::iterator< octet_iterator >::operator*(), peek_next(), prior(), utf8to16(), and utf8to32().

+ Here is the caller graph for this function:

template<typename octet_iterator >
uint32_t utf8::unchecked::peek_next ( octet_iterator  it)

Definition at line 92 of file unchecked.h.

References next().

template<typename octet_iterator >
uint32_t utf8::unchecked::previous ( octet_iterator &  it)
inline

Definition at line 107 of file unchecked.h.

References prior().

template<typename octet_iterator >
uint32_t utf8::unchecked::prior ( octet_iterator &  it)

Definition at line 98 of file unchecked.h.

References utf8::internal::is_trail(), and next().

Referenced by utf8::unchecked::iterator< octet_iterator >::operator--(), and previous().

+ Here is the caller graph for this function:

template<typename u16bit_iterator , typename octet_iterator >
octet_iterator utf8::unchecked::utf16to8 ( u16bit_iterator  start,
u16bit_iterator  end,
octet_iterator  result 
)
template<typename octet_iterator , typename u32bit_iterator >
octet_iterator utf8::unchecked::utf32to8 ( u32bit_iterator  start,
u32bit_iterator  end,
octet_iterator  result 
)

Definition at line 160 of file unchecked.h.

References append().

template<typename u16bit_iterator , typename octet_iterator >
u16bit_iterator utf8::unchecked::utf8to16 ( octet_iterator  start,
octet_iterator  end,
u16bit_iterator  result 
)
template<typename octet_iterator , typename u32bit_iterator >
u32bit_iterator utf8::unchecked::utf8to32 ( octet_iterator  start,
octet_iterator  end,
u32bit_iterator  result 
)

Definition at line 169 of file unchecked.h.

References next().