RESTinio
|
A producer for the case when a signed decimal number is expected in the input stream. More...
#include <easy_parser.hpp>
Public Member Functions | |
decimal_number_producer_with_digits_limit_t (digits_to_consume_t digits_limit) | |
auto | try_parse (source_t &from) const noexcept |
Public Member Functions inherited from restinio::easy_parser::impl::decimal_number_producer_t< T > | |
try_parse_result_type | 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::decimal_number_producer_t< T > | |
using | try_parse_result_type = expected_t< T, parse_error_t > |
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 |
Protected Member Functions inherited from restinio::easy_parser::impl::decimal_number_producer_t< T > | |
template<typename Digits_Limit_Maker> | |
try_parse_result_type | try_parse_impl (source_t &from, Digits_Limit_Maker &&digits_limit_maker) const noexcept |
A producer for the case when a signed 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 2811 of file easy_parser.hpp.
|
inline |
Definition at line 2817 of file easy_parser.hpp.
|
inlinenodiscardnoexcept |
Definition at line 2824 of file easy_parser.hpp.
|
private |
Definition at line 2814 of file easy_parser.hpp.