Class params_ref
A view representing query parameters in a URL
Synopsis
class params_ref
: public params_base;
Declared in file <include/boost/url/impl/params_encoded_base.hpp> on line 20
Defined in file <include/boost/url/params_ref.hpp> on line 80
Member Functions
Name |
Description |
Constructor |
|
Constructor |
|
Assignment |
|
Assignment |
|
Conversion |
|
Return the referenced url |
|
Clear the contents of the container |
|
Assign elements |
|
Assign elements |
|
Append elements |
|
Append elements |
|
Append elements |
|
Insert elements |
|
Insert elements |
|
Insert elements |
|
Erase elements |
|
Erase elements |
|
Erase elements |
|
Replace elements |
|
Replace elements |
|
Replace elements |
|
Remove the value on an element |
|
Set a value |
|
Set a value |
Description
Objects of this type are used to interpret the query parameters as a bidirectional view of key/value pairs. The view does not retain ownership of the elements and instead references the original url. The caller is responsible for ensuring that the lifetime of the referenced url extends until it is no longer referenced. The view is modifiable; calling non-const members causes changes to the referenced url. Percent escapes in strings returned when dereferencing iterators are automatically decoded. Reserved characters in strings supplied to modifier functions are automatically percent-escaped.