RESTinio
Loading...
Searching...
No Matches
restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size > Class Template Reference

A special clause type for case when exact_fixed_size_fragment_producer should be used without storing its value. More...

#include <easy_parser_router.hpp>

Inheritance diagram for restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >:
restinio::easy_parser::impl::consume_value_clause_t< ep::impl::exact_fixed_size_fragment_producer_t< Size >, ep::impl::any_value_skipper_t > restinio::easy_parser::impl::clause_tag

Public Member Functions

 special_exact_fixed_size_fragment_clause_t (const char(&fragment)[Size])
Public Member Functions inherited from restinio::easy_parser::impl::consume_value_clause_t< ep::impl::exact_fixed_size_fragment_producer_t< Size >, ep::impl::any_value_skipper_t >
 consume_value_clause_t (ep::impl::exact_fixed_size_fragment_producer_t< Size > &&producer, ep::impl::any_value_skipper_t &&consumer)
std::optional< parse_error_ttry_process (source_t &from, Target_Type &target)

Private Types

using producer_t = ep::impl::exact_fixed_size_fragment_producer_t<Size>
using consumer_t = ep::impl::any_value_skipper_t
using base_type_t

Additional Inherited Members

Static Public Attributes inherited from restinio::easy_parser::impl::clause_tag
static constexpr entity_type_t entity_type = entity_type_t::clause

Detailed Description

template<std::size_t Size>
class restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >

A special clause type for case when exact_fixed_size_fragment_producer should be used without storing its value.

This type is an equivalent of exact_p() >> skip(), but it can be used where a type is required.

Since
v.0.6.6

Definition at line 233 of file easy_parser_router.hpp.

Member Typedef Documentation

◆ base_type_t

template<std::size_t Size>
using restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >::base_type_t
private
Initial value:

Definition at line 241 of file easy_parser_router.hpp.

◆ consumer_t

template<std::size_t Size>
using restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >::consumer_t = ep::impl::any_value_skipper_t
private

Definition at line 239 of file easy_parser_router.hpp.

◆ producer_t

template<std::size_t Size>
using restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >::producer_t = ep::impl::exact_fixed_size_fragment_producer_t<Size>
private

Definition at line 238 of file easy_parser_router.hpp.

Constructor & Destructor Documentation

◆ special_exact_fixed_size_fragment_clause_t()

template<std::size_t Size>
restinio::router::easy_parser_router::impl::special_exact_fixed_size_fragment_clause_t< Size >::special_exact_fixed_size_fragment_clause_t ( const char(&) fragment[Size])
inline

Definition at line 246 of file easy_parser_router.hpp.


The documentation for this class was generated from the following file: