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

Detailed Description

Definition at line 347 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
 

Public Member Functions

 Iterator (UnderlyingIterator it)
 
 Iterator (const Iterator &other)
 
 Iterator (Iterator &&other) noexcept
 
Iteratoroperator= (const Iterator &other)
 
Iteratoroperator= (Iterator &&other) noexcept
 
Iterator operator++ (int)
 
Iteratoroperator++ ()
 
reference operator* ()
 
const_reference operator* () const
 
pointer 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 355 of file header_map.hpp.

◆ const_reference

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

Definition at line 353 of file header_map.hpp.

◆ difference_type

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

Definition at line 350 of file header_map.hpp.

◆ iterator_category

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

Definition at line 349 of file header_map.hpp.

◆ pointer

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

Definition at line 354 of file header_map.hpp.

◆ reference

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

Definition at line 352 of file header_map.hpp.

◆ UnderlyingIterator

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

Definition at line 360 of file header_map.hpp.

◆ value_type

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

Definition at line 351 of file header_map.hpp.

Friends And Related Symbol Documentation

◆ HeaderMap::ConstIterator

friend class HeaderMap::ConstIterator
friend

Definition at line 386 of file header_map.hpp.


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