Boost.URL Logo

PrevUpHomeNext

query_param_view

A query parameter view.

Synopsis

Defined in header <boost/url/query_param.hpp>

struct query_param_view
Member Functions

Name

Description

operator query_param_encoded_view

Conversion.

query_param_view [constructor]

Constructor.

Data Members

Name

Description

has_value

True if the value is present.

key

The percent-decoded key.

value

The percent-decoded value.

Description

Objects of this type represent a single key/value pair in a query string. A value that is present with an empty string is distinct from a value that is absent. The presence of a value is indicated by has_value == true. Ownership of the underlying character buffers representing the key and value is not transferred. The caller is responsible for ensuring that the buffers assigned to these members remains valid while the object exists.

Convenience header <boost/url.hpp>


PrevUpHomeNext