stdex
Additional custom or not Standard C++ covered algorithms
|
Test for HTTP media range (RFC2616: media-range) More...
#include <stdex/parser.hpp>
Public Member Functions | |
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 | |
http_token | type |
http_token | subtype |
![]() | |
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 |
Protected Attributes | |
http_space | m_space |
![]() | |
std::locale | m_locale |
Test for HTTP media range (RFC2616: media-range)
Reimplemented from stdex::parser::basic_parser< char >.