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

Go to the source code of this file.

Classes

struct  lexy::_detail::cat_< A, B >
 
struct  lexy::_detail::cat_< type_string< CharT, C1... >, type_string< CharT, C2... > >
 
struct  lexy::_detail::macro_type_string< T, TypeString, Size, MaxSize >
 
struct  lexy::_detail::type_string< CharT, Cs >
 

Namespaces

 lexy
 
 lexy::_detail
 

Macros

#define LEXY_NTTP_STRING(T, Str)
 
#define LEXY_NTTP_STRING1(Str, I)
 
#define LEXY_NTTP_STRING16(Str, I)   ::lexy::_detail::cat<LEXY_NTTP_STRING8(Str, I), LEXY_NTTP_STRING8(Str, I + 8)>
 
#define LEXY_NTTP_STRING2(Str, I)   ::lexy::_detail::cat<LEXY_NTTP_STRING1(Str, I), LEXY_NTTP_STRING1(Str, I + 1)>
 
#define LEXY_NTTP_STRING32(Str, I)   ::lexy::_detail::cat<LEXY_NTTP_STRING16(Str, I), LEXY_NTTP_STRING16(Str, I + 16)>
 
#define LEXY_NTTP_STRING4(Str, I)   ::lexy::_detail::cat<LEXY_NTTP_STRING2(Str, I), LEXY_NTTP_STRING2(Str, I + 2)>
 
#define LEXY_NTTP_STRING8(Str, I)   ::lexy::_detail::cat<LEXY_NTTP_STRING4(Str, I), LEXY_NTTP_STRING4(Str, I + 4)>
 
#define LEXY_NTTP_STRING_LENGTH(Str)   (sizeof(Str) / sizeof(Str[0]) - 1)
 

Typedefs

template<typename A , typename B >
using lexy::_detail::cat = typename cat_< A, B >::type
 

Macro Definition Documentation

◆ LEXY_NTTP_STRING

#define LEXY_NTTP_STRING (   T,
  Str 
)
Value:
LEXY_NTTP_STRING_LENGTH(Str), 32>::type

Definition at line 140 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING1

#define LEXY_NTTP_STRING1 (   Str,
 
)
Value:
::std::conditional_t< \
(I >= LEXY_NTTP_STRING_LENGTH(Str) ? Str[0] : Str[I])>, \

Definition at line 120 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING16

#define LEXY_NTTP_STRING16 (   Str,
 
)    ::lexy::_detail::cat<LEXY_NTTP_STRING8(Str, I), LEXY_NTTP_STRING8(Str, I + 8)>

Definition at line 134 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING2

#define LEXY_NTTP_STRING2 (   Str,
 
)    ::lexy::_detail::cat<LEXY_NTTP_STRING1(Str, I), LEXY_NTTP_STRING1(Str, I + 1)>

Definition at line 128 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING32

#define LEXY_NTTP_STRING32 (   Str,
 
)    ::lexy::_detail::cat<LEXY_NTTP_STRING16(Str, I), LEXY_NTTP_STRING16(Str, I + 16)>

Definition at line 136 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING4

#define LEXY_NTTP_STRING4 (   Str,
 
)    ::lexy::_detail::cat<LEXY_NTTP_STRING2(Str, I), LEXY_NTTP_STRING2(Str, I + 2)>

Definition at line 130 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING8

#define LEXY_NTTP_STRING8 (   Str,
 
)    ::lexy::_detail::cat<LEXY_NTTP_STRING4(Str, I), LEXY_NTTP_STRING4(Str, I + 4)>

Definition at line 132 of file nttp_string.hpp.

◆ LEXY_NTTP_STRING_LENGTH

#define LEXY_NTTP_STRING_LENGTH (   Str)    (sizeof(Str) / sizeof(Str[0]) - 1)

Definition at line 117 of file nttp_string.hpp.

LEXY_NTTP_STRING32
#define LEXY_NTTP_STRING32(Str, I)
Definition: nttp_string.hpp:136
lexy::_detail::type_string
Definition: nttp_string.hpp:15
LEXY_NTTP_STRING_LENGTH
#define LEXY_NTTP_STRING_LENGTH(Str)
Definition: nttp_string.hpp:117
LEXY_DECAY_DECLTYPE
#define LEXY_DECAY_DECLTYPE(...)
Definition: config.hpp:26
lexy::_detail::macro_type_string
Definition: nttp_string.hpp:109


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Tue Jun 25 2024 02:20:37