Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
encoding.hpp File Reference
#include <cstdint>
#include <lexy/_detail/assert.hpp>
#include <lexy/_detail/config.hpp>
Include dependency graph for encoding.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexy::_deduce_encoding< CharT >
 
struct  lexy::_deduce_encoding< char >
 
struct  lexy::_deduce_encoding< char16_t >
 
struct  lexy::_deduce_encoding< char32_t >
 
struct  lexy::_deduce_encoding< std::byte >
 
struct  lexy::_deduce_encoding< unsigned char >
 
struct  lexy::ascii_encoding
 
struct  lexy::byte_encoding
 An encoding where the input is just raw bytes, not characters. More...
 
struct  lexy::default_encoding
 An encoding where the input is some 8bit encoding (ASCII, UTF-8, extended ASCII etc.). More...
 
struct  lexy::utf16_encoding
 An encoding where the input is assumed to be valid UTF-16. More...
 
struct  lexy::utf32_encoding
 An encoding where the input is assumed to be valid UTF-32. More...
 
struct  lexy::utf8_char_encoding
 An encoding where the input is assumed to be valid UTF-8, but the char type is char. More...
 
struct  lexy::utf8_encoding
 An encoding where the input is assumed to be valid UTF-8. More...
 

Namespaces

 lexy
 
 lexy::_detail
 

Typedefs

template<typename CharT >
using lexy::deduce_encoding = typename _deduce_encoding< CharT >::type
 
template<typename Encoding , typename CharT >
using lexy::_detail::require_secondary_char_type = std::enable_if_t< Encoding::template is_secondary_char_type< CharT >()>
 

Enumerations

enum  lexy::encoding_endianness { lexy::encoding_endianness::little, lexy::encoding_endianness::big, lexy::encoding_endianness::bom }
 The endianness used by an encoding. More...
 

Functions

template<typename CharT >
constexpr bool lexy::_detail::is_ascii (CharT c)
 
template<typename TargetCharT , typename CharT >
LEXY_CONSTEVAL TargetCharT lexy::_detail::transcode_char (CharT c)
 
template<typename Encoding , typename CharT >
LEXY_CONSTEVAL auto lexy::_detail::transcode_int (CharT c) -> typename Encoding::int_type
 

Variables

template<typename Encoding >
constexpr auto lexy::is_byte_encoding = std::is_same_v<Encoding, byte_encoding>
 
template<typename Encoding >
constexpr auto lexy::is_char_encoding = is_text_encoding<Encoding> || is_byte_encoding<Encoding>
 
template<typename Encoding , typename CharT >
constexpr bool lexy::_detail::is_compatible_char_type
 
template<typename Encoding >
constexpr auto lexy::is_node_encoding = false
 
template<typename Encoding >
constexpr auto lexy::is_text_encoding = is_unicode_encoding<Encoding> || std::is_same_v<Encoding, default_encoding>
 
template<typename Encoding >
constexpr auto lexy::is_unicode_encoding
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18