stdex
Additional custom or not Standard C++ covered algorithms
|
Test for HTTP weighted value. More...
#include <stdex/parser.hpp>
Public Member Functions | |
http_weighted_value (const std::locale &locale=std::locale()) | |
virtual void | invalidate () |
![]() | |
basic_parser (const std::locale &locale=std::locale()) | |
bool | search (_In_reads_or_z_opt_(end) const char *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
bool | match (_In_reads_or_z_opt_(end) const char *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
bool | match (const std::basic_string_view< char, std::char_traits< char > > text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
Public Attributes | |
T_asterisk | asterisk |
T | value |
http_weight | factor |
![]() | |
stdex::interval< size_t > | interval |
Region of the last match. | |
Protected Member Functions | |
virtual bool | do_match (_In_reads_or_z_(end) const char *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
![]() | |
virtual bool | do_match (_In_reads_or_z_opt_(end) const char *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default)=0 |
Additional Inherited Members | |
![]() | |
std::locale | m_locale |
Test for HTTP weighted value.
|
inlinevirtual |
Reimplemented from stdex::parser::basic_parser< char >.