userver: http::headers::HeaderMap::Iterator Class Reference
Loading...
Searching...
No Matches
http::headers::HeaderMap::Iterator Class Referencefinal

Detailed Description

Definition at line 360 of file header_map.hpp.

Public Types

using iterator_category = std::forward_iterator_tag
using difference_type = std::ptrdiff_t
using value_type = std::pair<const std::string, std::string>
using reference = value_type&
using const_reference = const value_type&
using pointer = value_type*
using const_pointer = const value_type*
using UnderlyingIterator = std::vector<header_map::MapEntry>::reverse_iterator

Public Member Functions

 Iterator (UnderlyingIterator it)
 Iterator (const Iterator &other)
 Iterator (Iterator &&other) noexcept
Iterator & operator= (const Iterator &other)
Iterator & operator= (Iterator &&other) noexcept
Iterator operator++ (int)
Iterator & operator++ ()
reference operator* () const
pointer operator-> () const
bool operator== (const Iterator &other) const
bool operator!= (const Iterator &other) const
bool operator== (const ConstIterator &other) const

Member Typedef Documentation

◆ const_pointer

using http::headers::HeaderMap::Iterator::const_pointer = const value_type*

Definition at line 368 of file header_map.hpp.

◆ const_reference

using http::headers::HeaderMap::Iterator::const_reference = const value_type&

Definition at line 366 of file header_map.hpp.

◆ difference_type

using http::headers::HeaderMap::Iterator::difference_type = std::ptrdiff_t

Definition at line 363 of file header_map.hpp.

◆ iterator_category

using http::headers::HeaderMap::Iterator::iterator_category = std::forward_iterator_tag

Definition at line 362 of file header_map.hpp.

◆ pointer

using http::headers::HeaderMap::Iterator::pointer = value_type*

Definition at line 367 of file header_map.hpp.

◆ reference

using http::headers::HeaderMap::Iterator::reference = value_type&

Definition at line 365 of file header_map.hpp.

◆ UnderlyingIterator

using http::headers::HeaderMap::Iterator::UnderlyingIterator = std::vector<header_map::MapEntry>::reverse_iterator

Definition at line 373 of file header_map.hpp.

◆ value_type

using http::headers::HeaderMap::Iterator::value_type = std::pair<const std::string, std::string>

Definition at line 364 of file header_map.hpp.

◆ HeaderMap::ConstIterator

friend class HeaderMap::ConstIterator
friend

Definition at line 396 of file header_map.hpp.


The documentation for this class was generated from the following file: