boost::urls::segments_encoded_base

Percent-encoded path segment helper base

Synopsis

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

Description

Implements the shared encoded-segment algorithms reused by segments_encoded_view and segments_encoded_ref. It is not intended to be instantiated directly; use one of those concrete containers instead.

Containers

Types

NameDescription
iterator A Bidirectional iterator to a path segment
const_iterator A Bidirectional iterator to a path segment
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 used to represent size.
value_type The value type

Member Functions

NameDescription
back Return the last segment
begin Return an iterator to the beginning
buffer Return the referenced character buffer.
empty Return true if there are no segments
end Return an iterator to the end
front Return the first segment
is_absolute Returns true if this references an absolute path.
size Return the number of segments

Static Member Functions

NameDescription
max_size Return the maximum number of characters possible

Friends

|===
Name Description
segments_encoded_view Non-owning encoded path segment view
segments_encoded_ref Mutable encoded path segment proxy
url_view_base Common functionality for containers

Derived Classes

Name Description
segments_encoded_ref Mutable encoded path segment proxy
segments_encoded_view Non-owning encoded path segment view