userver: http::headers::HeaderMap::ConstIterator Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
http::headers::HeaderMap::ConstIterator Class Referencefinal

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 = const value_type &
 
using const_reference = const value_type &
 
using pointer = const value_type *
 
using const_pointer = const value_type *
 
using UnderlyingIterator = std::vector< header_map::MapEntry >::const_reverse_iterator
 

Public Member Functions

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

Friends

class HeaderMap::Iterator
 

Detailed Description

Definition at line 391 of file header_map.hpp.

Member Typedef Documentation

◆ const_pointer

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

Definition at line 399 of file header_map.hpp.

◆ const_reference

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

Definition at line 397 of file header_map.hpp.

◆ difference_type

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

Definition at line 394 of file header_map.hpp.

◆ iterator_category

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

Definition at line 393 of file header_map.hpp.

◆ pointer

using http::headers::HeaderMap::ConstIterator::pointer = const value_type*

Definition at line 398 of file header_map.hpp.

◆ reference

using http::headers::HeaderMap::ConstIterator::reference = const value_type&

Definition at line 396 of file header_map.hpp.

◆ UnderlyingIterator

using http::headers::HeaderMap::ConstIterator::UnderlyingIterator = std::vector<header_map::MapEntry>::const_reverse_iterator

Definition at line 404 of file header_map.hpp.

◆ value_type

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

Definition at line 395 of file header_map.hpp.

Friends And Related Symbol Documentation

◆ HeaderMap::Iterator

friend class HeaderMap::Iterator
friend

Definition at line 430 of file header_map.hpp.


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