boost::urls::params_encoded_base

Percent-encoded query helper base

Synopsis

Declared in <boost/url/params_encoded_base.hpp>
class params_encoded_base;

Description

This base implements the shared percent-encoded query parameter view functionality used by params_encoded_view and params_encoded_ref. It cannot be instantiated directly; instead, use one of those containers or the corresponding ref adaptors.

Containers

Types

NameDescription
iterator A Bidirectional iterator to a query parameter
const_iterator A Bidirectional iterator to a query parameter
const_reference The reference type
difference_type A signed integer type used to represent differences.
reference The reference type
size_type An unsigned integer type to represent sizes.
value_type The value type

Member Functions

NameDescription
begin Return an iterator to the beginning
buffer Return the query corresponding to these params
contains Return true if a matching key exists
count Return the number of matching keys
empty Return true if there are no params
end Return an iterator to the end
find Find a matching key
find_last Find a matching key
get_or Return the value for a key or a fallback
size Return the number of params

Static Member Functions

NameDescription
max_size Return the maximum number of characters possible

Friends

|===
Name Description
params_encoded_view Non-owning encoded query parameter view
params_encoded_ref Mutable encoded query parameter proxy
url_view_base Common functionality for containers

Derived Classes

Name Description
params_encoded_ref Mutable encoded query parameter proxy
params_encoded_view Non-owning encoded query parameter view