RESTinio
Loading...
Searching...
No Matches
restinio::router::easy_parser_router::impl::special_exact_fragment_clause_t Class Reference

A special clause type for case when exact_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_fragment_clause_t:
restinio::easy_parser::impl::consume_value_clause_t< ep::impl::exact_fragment_producer_t, ep::impl::any_value_skipper_t > restinio::easy_parser::impl::clause_tag

Public Member Functions

 special_exact_fragment_clause_t (std::string value)
 special_exact_fragment_clause_t (string_view_t value)
Public Member Functions inherited from restinio::easy_parser::impl::consume_value_clause_t< ep::impl::exact_fragment_producer_t, ep::impl::any_value_skipper_t >
 consume_value_clause_t (ep::impl::exact_fragment_producer_t &&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_fragment_producer_t
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

A special clause type for case when exact_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 265 of file easy_parser_router.hpp.

Member Typedef Documentation

◆ base_type_t

◆ consumer_t

Definition at line 271 of file easy_parser_router.hpp.

◆ producer_t

Definition at line 270 of file easy_parser_router.hpp.

Constructor & Destructor Documentation

◆ special_exact_fragment_clause_t() [1/2]

restinio::router::easy_parser_router::impl::special_exact_fragment_clause_t::special_exact_fragment_clause_t ( std::string value)
inline

Definition at line 278 of file easy_parser_router.hpp.

◆ special_exact_fragment_clause_t() [2/2]

restinio::router::easy_parser_router::impl::special_exact_fragment_clause_t::special_exact_fragment_clause_t ( string_view_t value)
inline

Definition at line 282 of file easy_parser_router.hpp.


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