Classes | Namespaces | Typedefs | Functions | Variables
buffer.hpp File Reference
#include <cstring>
#include <lexy/_detail/memory_resource.hpp>
#include <lexy/_detail/swar.hpp>
#include <lexy/error.hpp>
#include <lexy/input/base.hpp>
#include <lexy/lexeme.hpp>
Include dependency graph for buffer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  lexy::_br< Encoding >
 
struct  lexy::_make_buffer< Encoding, Endian >
 
struct  lexy::_make_buffer< utf16_encoding, encoding_endianness::bom >
 
struct  lexy::_make_buffer< utf32_encoding, encoding_endianness::bom >
 
struct  lexy::_make_buffer< utf8_char_encoding, encoding_endianness::bom >
 
struct  lexy::_make_buffer< utf8_encoding, encoding_endianness::bom >
 
class  lexy::buffer< Encoding, MemoryResource >
 
class  lexy::buffer< Encoding, MemoryResource >::builder
 Allows the creation of an uninitialized buffer that is then filled by the user. More...
 

Namespaces

 lexy
 

Typedefs

template<typename Input >
using lexy::_detect_input_data = decltype(LEXY_DECLVAL(Input &).data())
 
template<typename Tag , typename Encoding = default_encoding, typename MemoryResource = void>
using lexy::buffer_error = error_for< buffer< Encoding, MemoryResource >, Tag >
 
template<typename Encoding = default_encoding, typename MemoryResource = void>
using lexy::buffer_error_context = error_context< buffer< Encoding, MemoryResource > >
 
template<typename Encoding = default_encoding, typename MemoryResource = void>
using lexy::buffer_lexeme = lexeme_for< buffer< Encoding, MemoryResource > >
 

Functions

template<typename Encoding >
constexpr auto lexy::_buffer_reader (const typename Encoding::char_type *data)
 
template<typename CharT >
 lexy::buffer (const CharT *, const CharT *) -> buffer< deduce_encoding< CharT >>
 
template<typename CharT , typename MemoryResource >
 lexy::buffer (const CharT *, const CharT *, MemoryResource *) -> buffer< deduce_encoding< CharT >, MemoryResource >
 
template<typename CharT >
 lexy::buffer (const CharT *, std::size_t) -> buffer< deduce_encoding< CharT >>
 
template<typename CharT , typename MemoryResource >
 lexy::buffer (const CharT *, std::size_t, MemoryResource *) -> buffer< deduce_encoding< CharT >, MemoryResource >
 
template<typename View >
 lexy::buffer (const View &) -> buffer< deduce_encoding< LEXY_DECAY_DECLTYPE(*LEXY_DECLVAL(View).data())>>
 
template<typename View , typename MemoryResource >
 lexy::buffer (const View &, MemoryResource *) -> buffer< deduce_encoding< LEXY_DECAY_DECLTYPE(*LEXY_DECLVAL(View).data())>, MemoryResource >
 
 lexy::LEXY_INSTANTIATION_NEWTYPE (_br32, _br, lexy::utf32_encoding)
 
 lexy::LEXY_INSTANTIATION_NEWTYPE (_br8, _br, lexy::utf8_encoding)
 
 lexy::LEXY_INSTANTIATION_NEWTYPE (_bra, _br, lexy::ascii_encoding)
 
 lexy::LEXY_INSTANTIATION_NEWTYPE (_brc, _br, lexy::utf8_char_encoding)
 
template<typename Input , typename MemoryResource = void>
constexpr auto lexy::make_buffer_from_input (const Input &input, MemoryResource *resource=_detail::get_memory_resource< MemoryResource >()) -> buffer< typename input_reader< Input >::encoding, MemoryResource >
 

Variables

template<typename Encoding , encoding_endianness Endianness>
constexpr auto lexy::make_buffer_from_raw = _make_buffer<Encoding, Endianness>{}
 Creates a buffer with the specified encoding/endianness from raw memory. More...
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08