|
Ada 3.4.0
Fast spec-compliant URL parser
|
JavaScript-style iterator for url_search_params. More...
#include <url_search_params.h>
Public Member Functions | |
| url_search_params_iter () | |
| url_search_params_iter (const url_search_params_iter &u)=default | |
| url_search_params_iter (url_search_params_iter &&u) noexcept=default | |
| url_search_params_iter & | operator= (url_search_params_iter &&u) noexcept=default |
| url_search_params_iter & | operator= (const url_search_params_iter &u)=default |
| ~url_search_params_iter ()=default | |
| std::optional< T > | next () |
| bool | has_next () const |
Friends | |
| struct | url_search_params |
JavaScript-style iterator for url_search_params.
Provides a next() method that returns successive values until exhausted. This matches the iterator pattern used in the Web Platform.
| T | The type of value returned by the iterator. |
| Type | The type of iteration (KEYS, VALUES, or ENTRIES). |
Definition at line 224 of file url_search_params.h.
|
inline |
Definition at line 225 of file url_search_params.h.
|
default |
|
defaultnoexcept |
|
default |
|
inline |
Checks if more values are available.
true if next() will return a value, false if exhausted. Definition at line 260 of file url_search_params-inl.h.
Referenced by ada::url_search_params_iter< key_value_view_pair, url_search_params_iter_type::ENTRIES >::next(), ada::url_search_params_iter< std::string_view, url_search_params_iter_type::KEYS >::next(), and ada::url_search_params_iter< std::string_view, url_search_params_iter_type::VALUES >::next().
|
inline |
Returns the next value in the iteration sequence.
|
default |
|
defaultnoexcept |
|
friend |
Definition at line 252 of file url_search_params.h.