CACAO
Data Structures | Namespaces | Typedefs | Enumerations | Functions
utf_utils.hpp File Reference

Go to the source code of this file.

Data Structures

struct  utf_utils::SlashToDot< Char >
 
struct  utf_utils::DotToSlash< Char >
 
struct  utf_utils::Range< Iterator >
 
struct  utf8::VisitorBase< ReturnType, action >
 
struct  utf16::VisitorBase< ReturnType >
 

Namespaces

 utf_utils
 
 utf8
 
 utf16
 

Typedefs

typedef utf_utils::SlashToDot
< char > 
utf8::SlashToDot
 
typedef utf_utils::DotToSlash
< char > 
utf8::DotToSlash
 
typedef utf_utils::SlashToDot
< uint16_t > 
utf16::SlashToDot
 
typedef utf_utils::DotToSlash
< uint16_t > 
utf16::DotToSlash
 

Enumerations

enum  utf8::ErrorAction { utf8::IGNORE_ERRORS, utf8::ABORT_ON_ERROR }
 

Functions

template<typename Iterator , typename Fn >
Fn::ReturnType utf8::transform (Iterator begin, Iterator end, Fn)
 
template<typename T , typename Fn >
Fn::ReturnType utf8::transform (T t, Fn fn)
 
uint16_t utf8::decode_char (const char *&)
 
bool utf8::is_ascii (uint8_t c)
 
template<typename Utf8Iterator >
bool utf8::decode (Utf8Iterator begin, Utf8Iterator end, uint16_t *dst)
 
template<typename T >
utf_utils::Range< SlashToDot > utf8::slash_to_dot (T t)
 
template<typename It >
utf_utils::Range< SlashToDot > utf8::slash_to_dot (It a, It b)
 
template<typename T >
utf_utils::Range< DotToSlash > utf8::dot_to_slash (T t)
 
template<typename It >
utf_utils::Range< DotToSlash > utf8::dot_to_slash (It a, It b)
 
template<typename Iterator , typename Fn >
Fn::ReturnType utf16::transform (Iterator begin, Iterator end, Fn)
 
template<typename T , typename Fn >
Fn::ReturnType utf16::transform (T t, Fn fn)
 
bool utf16::is_ascii (uint16_t c)
 
template<typename Utf16Iterator >
void utf16::encode (Utf16Iterator begin, Utf16Iterator end, char *dst)
 
template<typename T >
utf_utils::Range< SlashToDot > utf16::slash_to_dot (T t)
 
template<typename It >
utf_utils::Range< SlashToDot > utf16::slash_to_dot (It a, It b)
 
template<typename T >
utf_utils::Range< DotToSlash > utf16::dot_to_slash (T t)
 
template<typename It >
utf_utils::Range< DotToSlash > utf16::dot_to_slash (It a, It b)