|
stdex
Additional custom or not Standard C++ covered algorithms
|
Test for DNS domain/hostname. More...
#include <stdex/parser.hpp>
Public Member Functions | |
| basic_dns_name (bool allow_absolute, const std::shared_ptr< basic_dns_domain_char< T > > &domain_char, const std::shared_ptr< basic_parser< T > > &separator, const std::locale &locale=std::locale()) | |
Public Member Functions inherited from stdex::parser::basic_parser< T > | |
| basic_parser (const std::locale &locale=std::locale()) | |
| bool | search (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| bool | match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| bool | match (const std::basic_string_view< T, std::char_traits< T > > text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
| virtual void | invalidate () |
Protected Member Functions | |
| virtual bool | do_match (_In_reads_or_z_opt_(end) const T *text, size_t start=0, size_t end=SIZE_MAX, int flags=match_default) |
Protected Member Functions inherited from stdex::parser::basic_parser< T > | |
Protected Attributes | |
| bool | m_allow_absolute |
| May DNS names end with a dot (absolute name)? | |
| std::shared_ptr< basic_dns_domain_char< T > > | m_domain_char |
| std::shared_ptr< basic_parser< T > > | m_separator |
Protected Attributes inherited from stdex::parser::basic_parser< T > | |
| std::locale | m_locale |
Additional Inherited Members | |
Public Attributes inherited from stdex::parser::basic_parser< T > | |
| stdex::interval< size_t > | interval |
| Region of the last match. | |
Test for DNS domain/hostname.
|
inlineprotectedvirtual |
Implements stdex::parser::basic_parser< T >.