Goby3  3.1.5a
2024.05.23
jwt::details Namespace Reference

Classes

struct  detector
 
struct  detector< Default, void_t< Op< Args... > >, Op, Args... >
 
struct  has_operate_plus_method
 
struct  has_subcription_operator
 
struct  is_subcription_operator_signature
 
struct  is_valid_json_array
 
struct  is_valid_json_object
 
struct  is_valid_json_string
 
struct  is_valid_json_types
 
struct  is_valid_json_value
 
struct  is_valid_traits
 
struct  make_void
 
class  map_of_claims
 
struct  nonesuch
 
struct  supports_as_array
 
struct  supports_as_boolean
 
struct  supports_as_integer
 
struct  supports_as_number
 
struct  supports_as_object
 
struct  supports_as_string
 
struct  supports_begin
 
struct  supports_end
 
struct  supports_get_type
 

Typedefs

template<typename... Ts>
using void_t = typename make_void< Ts... >::type
 
template<template< class... > class Op, class... Args>
using is_detected = typename detector< nonesuch, void, Op, Args... >::value
 
template<template< class... > class Op, class... Args>
using is_detected_t = typename detector< nonesuch, void, Op, Args... >::type
 
template<typename traits_type >
using get_type_function = decltype(traits_type::get_type)
 
template<typename traits_type , typename value_type >
using is_get_type_signature = typename std::is_same< get_type_function< traits_type >, json::type(const value_type &)>
 
template<typename traits_type >
using as_object_function = decltype(traits_type::as_object)
 
template<typename traits_type , typename value_type , typename object_type >
using is_as_object_signature = typename std::is_same< as_object_function< traits_type >, object_type(const value_type &)>
 
template<typename traits_type >
using as_array_function = decltype(traits_type::as_array)
 
template<typename traits_type , typename value_type , typename array_type >
using is_as_array_signature = typename std::is_same< as_array_function< traits_type >, array_type(const value_type &)>
 
template<typename traits_type >
using as_string_function = decltype(traits_type::as_string)
 
template<typename traits_type , typename value_type , typename string_type >
using is_as_string_signature = typename std::is_same< as_string_function< traits_type >, string_type(const value_type &)>
 
template<typename traits_type >
using as_number_function = decltype(traits_type::as_number)
 
template<typename traits_type , typename value_type , typename number_type >
using is_as_number_signature = typename std::is_same< as_number_function< traits_type >, number_type(const value_type &)>
 
template<typename traits_type >
using as_integer_function = decltype(traits_type::as_int)
 
template<typename traits_type , typename value_type , typename integer_type >
using is_as_integer_signature = typename std::is_same< as_integer_function< traits_type >, integer_type(const value_type &)>
 
template<typename traits_type >
using as_boolean_function = decltype(traits_type::as_bool)
 
template<typename traits_type , typename value_type , typename boolean_type >
using is_as_boolean_signature = typename std::is_same< as_boolean_function< traits_type >, boolean_type(const value_type &)>
 
template<typename traits_type >
using has_mapped_type = typename traits_type::mapped_type
 
template<typename traits_type >
using has_key_type = typename traits_type::key_type
 
template<typename traits_type >
using has_value_type = typename traits_type::value_type
 
template<typename object_type >
using has_iterator = typename object_type::iterator
 
template<typename object_type >
using has_const_iterator = typename object_type::const_iterator
 
template<typename object_type >
using is_begin_signature = typename std::is_same< decltype(std::declval< object_type >().begin()), has_iterator< object_type > >
 
template<typename object_type >
using is_begin_const_signature = typename std::is_same< decltype(std::declval< const object_type >().begin()), has_const_iterator< object_type > >
 
template<typename object_type >
using is_end_signature = typename std::is_same< decltype(std::declval< object_type >().end()), has_iterator< object_type > >
 
template<typename object_type >
using is_end_const_signature = typename std::is_same< decltype(std::declval< const object_type >().end()), has_const_iterator< object_type > >
 
template<typename object_type , typename string_type >
using is_count_signature = typename std::is_integral< decltype(std::declval< const object_type >().count(std::declval< const string_type >()))>
 
template<typename object_type , typename value_type , typename string_type >
using is_at_const_signature = typename std::is_same< decltype(std::declval< const object_type >().at(std::declval< const string_type >())), const value_type & >
 
template<typename string_type , typename integer_type >
using is_substr_start_end_index_signature = typename std::is_same< decltype(std::declval< string_type >().substr(std::declval< integer_type >(), std::declval< integer_type >())), string_type >
 
template<typename string_type , typename integer_type >
using is_substr_start_index_signature = typename std::is_same< decltype(std::declval< string_type >().substr(std::declval< integer_type >())), string_type >
 
template<typename string_type >
using is_std_operate_plus_signature = typename std::is_same< decltype(std::operator+(std::declval< string_type >(), std::declval< string_type >())), string_type >
 

Typedef Documentation

◆ as_array_function

template<typename traits_type >
using jwt::details::as_array_function = typedef decltype(traits_type::as_array)

Definition at line 2163 of file jwt.h.

◆ as_boolean_function

template<typename traits_type >
using jwt::details::as_boolean_function = typedef decltype(traits_type::as_bool)

Definition at line 2225 of file jwt.h.

◆ as_integer_function

template<typename traits_type >
using jwt::details::as_integer_function = typedef decltype(traits_type::as_int)

Definition at line 2208 of file jwt.h.

◆ as_number_function

template<typename traits_type >
using jwt::details::as_number_function = typedef decltype(traits_type::as_number)

Definition at line 2192 of file jwt.h.

◆ as_object_function

template<typename traits_type >
using jwt::details::as_object_function = typedef decltype(traits_type::as_object)

Definition at line 2148 of file jwt.h.

◆ as_string_function

template<typename traits_type >
using jwt::details::as_string_function = typedef decltype(traits_type::as_string)

Definition at line 2177 of file jwt.h.

◆ get_type_function

template<typename traits_type >
using jwt::details::get_type_function = typedef decltype(traits_type::get_type)

Definition at line 2135 of file jwt.h.

◆ has_const_iterator

template<typename object_type >
using jwt::details::has_const_iterator = typedef typename object_type::const_iterator

Definition at line 2301 of file jwt.h.

◆ has_iterator

template<typename object_type >
using jwt::details::has_iterator = typedef typename object_type::iterator

Definition at line 2299 of file jwt.h.

◆ has_key_type

template<typename traits_type >
using jwt::details::has_key_type = typedef typename traits_type::key_type

Definition at line 2295 of file jwt.h.

◆ has_mapped_type

template<typename traits_type >
using jwt::details::has_mapped_type = typedef typename traits_type::mapped_type

Definition at line 2293 of file jwt.h.

◆ has_value_type

template<typename traits_type >
using jwt::details::has_value_type = typedef typename traits_type::value_type

Definition at line 2297 of file jwt.h.

◆ is_as_array_signature

template<typename traits_type , typename value_type , typename array_type >
using jwt::details::is_as_array_signature = typedef typename std::is_same<as_array_function<traits_type>, array_type(const value_type&)>

Definition at line 2167 of file jwt.h.

◆ is_as_boolean_signature

template<typename traits_type , typename value_type , typename boolean_type >
using jwt::details::is_as_boolean_signature = typedef typename std::is_same<as_boolean_function<traits_type>, boolean_type(const value_type&)>

Definition at line 2229 of file jwt.h.

◆ is_as_integer_signature

template<typename traits_type , typename value_type , typename integer_type >
using jwt::details::is_as_integer_signature = typedef typename std::is_same<as_integer_function<traits_type>, integer_type(const value_type&)>

Definition at line 2212 of file jwt.h.

◆ is_as_number_signature

template<typename traits_type , typename value_type , typename number_type >
using jwt::details::is_as_number_signature = typedef typename std::is_same<as_number_function<traits_type>, number_type(const value_type&)>

Definition at line 2196 of file jwt.h.

◆ is_as_object_signature

template<typename traits_type , typename value_type , typename object_type >
using jwt::details::is_as_object_signature = typedef typename std::is_same<as_object_function<traits_type>, object_type(const value_type&)>

Definition at line 2152 of file jwt.h.

◆ is_as_string_signature

template<typename traits_type , typename value_type , typename string_type >
using jwt::details::is_as_string_signature = typedef typename std::is_same<as_string_function<traits_type>, string_type(const value_type&)>

Definition at line 2181 of file jwt.h.

◆ is_at_const_signature

template<typename object_type , typename value_type , typename string_type >
using jwt::details::is_at_const_signature = typedef typename std::is_same<decltype(std::declval<const object_type>().at( std::declval<const string_type>())), const value_type&>

Definition at line 2370 of file jwt.h.

◆ is_begin_const_signature

template<typename object_type >
using jwt::details::is_begin_const_signature = typedef typename std::is_same<decltype(std::declval<const object_type>().begin()), has_const_iterator<object_type> >

Definition at line 2310 of file jwt.h.

◆ is_begin_signature

template<typename object_type >
using jwt::details::is_begin_signature = typedef typename std::is_same<decltype(std::declval<object_type>().begin()), has_iterator<object_type> >

Definition at line 2305 of file jwt.h.

◆ is_count_signature

template<typename object_type , typename string_type >
using jwt::details::is_count_signature = typedef typename std::is_integral<decltype(std::declval<const object_type>().count( std::declval<const string_type>()))>

Definition at line 2340 of file jwt.h.

◆ is_detected

template<template< class... > class Op, class... Args>
using jwt::details::is_detected = typedef typename detector<nonesuch, void, Op, Args...>::value

Definition at line 2129 of file jwt.h.

◆ is_detected_t

template<template< class... > class Op, class... Args>
using jwt::details::is_detected_t = typedef typename detector<nonesuch, void, Op, Args...>::type

Definition at line 2132 of file jwt.h.

◆ is_end_const_signature

template<typename object_type >
using jwt::details::is_end_const_signature = typedef typename std::is_same<decltype(std::declval<const object_type>().end()), has_const_iterator<object_type> >

Definition at line 2327 of file jwt.h.

◆ is_end_signature

template<typename object_type >
using jwt::details::is_end_signature = typedef typename std::is_same<decltype(std::declval<object_type>().end()), has_iterator<object_type> >

Definition at line 2322 of file jwt.h.

◆ is_get_type_signature

template<typename traits_type , typename value_type >
using jwt::details::is_get_type_signature = typedef typename std::is_same<get_type_function<traits_type>, json::type(const value_type&)>

Definition at line 2139 of file jwt.h.

◆ is_std_operate_plus_signature

template<typename string_type >
using jwt::details::is_std_operate_plus_signature = typedef typename std::is_same<decltype(std::operator+(std::declval<string_type>(), std::declval<string_type>())), string_type>

Definition at line 2425 of file jwt.h.

◆ is_substr_start_end_index_signature

template<typename string_type , typename integer_type >
using jwt::details::is_substr_start_end_index_signature = typedef typename std::is_same<decltype(std::declval<string_type>().substr( std::declval<integer_type>(), std::declval<integer_type>())), string_type>

Definition at line 2401 of file jwt.h.

◆ is_substr_start_index_signature

template<typename string_type , typename integer_type >
using jwt::details::is_substr_start_index_signature = typedef typename std::is_same< decltype(std::declval<string_type>().substr(std::declval<integer_type>())), string_type>

Definition at line 2405 of file jwt.h.

◆ void_t

template<typename... Ts>
using jwt::details::void_t = typedef typename make_void<Ts...>::type

Definition at line 2093 of file jwt.h.