Boost.URI Logo

PrevUpHomeNext

basic_value

A modifiable container for a URL.

Synopsis

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

class basic_value
Types

Name

Description

params_type

A modifiable view to the URL query parameters.

segments_type

A read-only view to the path segments.

Member Functions

Name

Description

capacity

Return the number of characters that may be stored without a reallocation.

data

Return a pointer to the characters in the URL.

encoded_authority

Return the authority.

encoded_fragment

Return the fragment.

encoded_host

Return the encoded host.

encoded_hostname

Return the hostname.

encoded_origin

Return the origin.

encoded_password

Return the password.

encoded_path

Return the path.

encoded_query

Return the query.

encoded_url

Return the URL.

encoded_userinfo

Return the userinfo.

encoded_username

Return the username.

fragment

Return the fragment.

fragment_part

Return the fragment.

has_authority

Return true if an authority is present.

host

Return the type of host present, if any.

hostname

Return the hostname.

params

Return the query.

password

Return the password.

port

Return the port.

port_part

Return the port.

query

Return the query.

query_part

Return the query.

scheme

Return the scheme.

segments

Return the path.

set_encoded_authority

Set the authority.

set_encoded_fragment

Set the fragment.

set_encoded_host

set_encoded_hostname

Set the hostname.

set_encoded_origin

Set the origin to the specified value.

set_encoded_password

Set the encoded password.

set_encoded_path

Set the path.

set_encoded_query

Set the query.

set_encoded_url

Set the URL.

set_encoded_userinfo

Set the userinfo.

set_encoded_username

Set the encoded username.

set_fragment

Set the fragment.

set_fragment_part

Set the fragment.

set_hostname

Set the hostname.

set_password

Set the password.

set_port

Set the port.

set_port_part

Set the port.

set_query

Set the query.

set_query_part

Set the query.

set_scheme

Set the scheme.

set_username

Set the username.

size

Return the number of characters in the URL.

username

Return the username.

Description

Objects of this type hold URLs which may be inspected and modified. The derived class is responsible for providing storage. The underlying string stored in the container is always null-terminated.

See Also

value, dynamic_value, static_value

See Also

PrevUpHomeNext