boost::urls::segments_base

Decoded path segment helper base

Synopsis

class segments_base;

Types

Name

Description

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

Name

Description

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

Name

Description

max_size

Return the maximum number of characters possible

Friends

Name Description

boost::urls::segments_view

Non‐owning decoded path segment view

boost::urls::segments_ref

Mutable decoded path segment proxy

boost::urls::url_view_base

Common functionality for containers

Derived Classes

Name Description

segments_ref

Mutable decoded path segment proxy

segments_view

Non‐owning decoded path segment view

Description

Provides the shared decoded path‐segment algorithms (iteration, lookup, comparison) used by segments_view and segments_ref. This base cannot be instantiated directly; instead, use one of the concrete containers below.

Containers

  • segments_ref

  • segments_view

  • segments_encoded_ref

  • segments_encoded_view

Created with MrDocs