Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
byte.hpp File Reference
#include <cstdint>
#include <lexy/_detail/integer_sequence.hpp>
#include <lexy/dsl/base.hpp>
#include <lexy/dsl/char_class.hpp>
#include <lexy/dsl/token.hpp>
Include dependency graph for byte.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexyd::_b< N, Predicate >
 
struct  lexyd::_bint< N, Endianness, Rule >
 
struct  lexyd::_pb< N, Padding >
 
struct  lexyd::_bint< N, Endianness, Rule >::_pc< NextParser, Indices >
 
struct  lexyd::_bint< N, Endianness, Rule >::_pc< NextParser, lexy::_detail::index_sequence< Idx... > >
 
struct  lexyd::_bint< N, Endianness, Rule >::bp< Reader >
 
struct  lexyd::_pb< N, Padding >::bp< Reader >
 
struct  lexy::mismatched_byte_count
 
struct  lexyd::_bint< N, Endianness, Rule >::p< NextParser >
 
struct  lexyd::_pb< N, Padding >::p< NextParser >
 
struct  lexyd::_b< N, Predicate >::tp< Reader, Indices >
 
struct  lexyd::_b< N, Predicate >::tp< Reader, lexy::_detail::index_sequence< Idx... > >
 

Namespaces

 lexy
 
 lexy::_detail
 
 lexyd
 

Typedefs

template<std::size_t N>
using lexy::_detail::bint = decltype(_bint< N >())
 

Enumerations

enum  lexy::_detail::bint_endianness { lexy::_detail::bint_little, lexy::_detail::bint_big, lexy::_detail::bint_native = bint_big }
 

Functions

template<std::size_t N>
auto lexy::_detail::_bint ()
 

Variables

constexpr auto lexyd::big_bint16 = _bint<2, lexy::_detail::bint_big>{}
 
constexpr auto lexyd::big_bint32 = _bint<4, lexy::_detail::bint_big>{}
 
constexpr auto lexyd::big_bint64 = _bint<8, lexy::_detail::bint_big>{}
 
constexpr auto lexyd::bint16 = _bint<2, lexy::_detail::bint_native>{}
 Matches two bytes and converts it into an 16-bit integer. More...
 
constexpr auto lexyd::bint32 = _bint<4, lexy::_detail::bint_native>{}
 Matches four bytes and converts it into an 32-bit integer. More...
 
constexpr auto lexyd::bint64 = _bint<8, lexy::_detail::bint_native>{}
 Matches eight bytes and converts it into an 64-bit integer. More...
 
constexpr auto lexyd::bint8 = _bint<1, lexy::_detail::bint_native>{}
 Matches one byte and converts it into an 8-bit integer. More...
 
constexpr auto lexyd::byte = _b<1, void>{}
 Matches an arbitrary byte. More...
 
template<std::size_t N>
constexpr auto lexyd::bytes = _b<N, void>{}
 Matches N arbitrary bytes. More...
 
constexpr auto lexyd::little_bint16 = _bint<2, lexy::_detail::bint_little>{}
 
constexpr auto lexyd::little_bint32 = _bint<4, lexy::_detail::bint_little>{}
 
constexpr auto lexyd::little_bint64 = _bint<8, lexy::_detail::bint_little>{}
 
template<std::size_t N, unsigned char Padding = 0>
constexpr auto lexyd::padding_bytes = _pb<N, Padding>{}
 


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