boost::urls::params_encoded_base

Percent‐encoded query helper base

Synopsis

class params_encoded_base;

Types

Name

Description

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

Name

Description

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

Name

Description

max_size

Return the maximum number of characters possible

Friends

Name Description

boost::urls::params_encoded_view

Non‐owning encoded query parameter view

boost::urls::params_encoded_ref

Mutable encoded query parameter proxy

boost::urls::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

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

  • params_ref

  • params_view

  • params_encoded_ref

  • params_encoded_view

Created with MrDocs