Ada 3.0.1
Fast spec-compliant URL parser
Loading...
Searching...
No Matches
ada::url_pattern_compile_component_options Struct Reference

#include <url_pattern.h>

Public Member Functions

 url_pattern_compile_component_options ()=default
 
 url_pattern_compile_component_options (std::optional< char > new_delimiter=std::nullopt, std::optional< char > new_prefix=std::nullopt)
 
std::string_view get_delimiter () const ada_warn_unused
 
std::string_view get_prefix () const ada_warn_unused
 

Public Attributes

bool ignore_case = false
 

Static Public Attributes

static url_pattern_compile_component_options DEFAULT
 
static url_pattern_compile_component_options HOSTNAME
 
static url_pattern_compile_component_options PATHNAME
 

Detailed Description

Definition at line 85 of file url_pattern.h.

Constructor & Destructor Documentation

◆ url_pattern_compile_component_options() [1/2]

ada::url_pattern_compile_component_options::url_pattern_compile_component_options ( )
default

◆ url_pattern_compile_component_options() [2/2]

ada::url_pattern_compile_component_options::url_pattern_compile_component_options ( std::optional< char > new_delimiter = std::nullopt,
std::optional< char > new_prefix = std::nullopt )
inlineexplicit

Definition at line 87 of file url_pattern.h.

Member Function Documentation

◆ get_delimiter()

std::string_view ada::url_pattern_compile_component_options::get_delimiter ( ) const
inline

◆ get_prefix()

std::string_view ada::url_pattern_compile_component_options::get_prefix ( ) const
inline

Member Data Documentation

◆ DEFAULT

◆ HOSTNAME

url_pattern_compile_component_options ada::url_pattern_compile_component_options::HOSTNAME
inlinestatic

Definition at line 99 of file url_pattern.h.

Referenced by ada::url_aggregator::parse_url_pattern_impl.

◆ ignore_case

bool ada::url_pattern_compile_component_options::ignore_case = false

Definition at line 96 of file url_pattern.h.

Referenced by ada::url_pattern_component< regex_provider >::compile().

◆ PATHNAME

url_pattern_compile_component_options ada::url_pattern_compile_component_options::PATHNAME
inlinestatic

Definition at line 100 of file url_pattern.h.

Referenced by ada::url_aggregator::parse_url_pattern_impl.


The documentation for this struct was generated from the following files: