RESTinio
|
A producer for the case when a non-negative decimal number is expected in the input stream. More...
#include <easy_parser.hpp>
Public Member Functions | |
non_negative_decimal_number_producer_with_digits_limit_t (digits_to_consume_t digits_limit) | |
expected_t< T, parse_error_t > | try_parse (source_t &from) const noexcept |
Public Member Functions inherited from restinio::easy_parser::impl::non_negative_decimal_number_producer_t< T > | |
expected_t< T, parse_error_t > | try_parse (source_t &from) const noexcept |
Private Attributes | |
digits_to_consume_t | m_digits_limit |
Additional Inherited Members | |
Public Types inherited from restinio::easy_parser::impl::producer_tag< T > | |
using | result_type |
Static Public Attributes inherited from restinio::easy_parser::impl::producer_tag< T > | |
static constexpr entity_type_t | entity_type |
A producer for the case when a non-negative decimal number is expected in the input stream.
This class takes into account a number of digits to be consumed.
In the case of success returns the extracted number.
Definition at line 2599 of file easy_parser.hpp.
|
inline |
Definition at line 2605 of file easy_parser.hpp.
|
inlinenodiscardnoexcept |
Definition at line 2612 of file easy_parser.hpp.
|
private |
Definition at line 2602 of file easy_parser.hpp.