userver: storages::redis::ScanRequest< scan_tag >::Iterator Class Reference
Loading...
Searching...
No Matches
storages::redis::ScanRequest< scan_tag >::Iterator Class Reference

Detailed Description

template<ScanTag scan_tag>
class storages::redis::ScanRequest< scan_tag >::Iterator

Definition at line 78 of file request.hpp.

Classes

class  ReplyElemHolder
 

Public Types

using iterator_category = std::input_iterator_tag
 
using difference_type = ptrdiff_t
 
using value_type = ReplyElem
 
using reference = value_type&
 
using pointer = value_type*
 

Public Member Functions

 Iterator (ScanRequest *stream)
 
ReplyElemHolder operator++ (int)
 
Iteratoroperator++ ()
 
reference operator* ()
 
pointer operator-> ()
 
bool operator== (const Iterator &rhs) const
 
bool operator!= (const Iterator &rhs) const
 

Member Typedef Documentation

◆ difference_type

template<ScanTag scan_tag>
using storages::redis::ScanRequest< scan_tag >::Iterator::difference_type = ptrdiff_t

Definition at line 81 of file request.hpp.

◆ iterator_category

template<ScanTag scan_tag>
using storages::redis::ScanRequest< scan_tag >::Iterator::iterator_category = std::input_iterator_tag

Definition at line 80 of file request.hpp.

◆ pointer

template<ScanTag scan_tag>
using storages::redis::ScanRequest< scan_tag >::Iterator::pointer = value_type*

Definition at line 84 of file request.hpp.

◆ reference

template<ScanTag scan_tag>
using storages::redis::ScanRequest< scan_tag >::Iterator::reference = value_type&

Definition at line 83 of file request.hpp.

◆ value_type

template<ScanTag scan_tag>
using storages::redis::ScanRequest< scan_tag >::Iterator::value_type = ReplyElem

Definition at line 82 of file request.hpp.

Constructor & Destructor Documentation

◆ Iterator()

template<ScanTag scan_tag>
storages::redis::ScanRequest< scan_tag >::Iterator::Iterator ( ScanRequest * stream)
inlineexplicit

Definition at line 86 of file request.hpp.

Member Function Documentation

◆ operator!=()

template<ScanTag scan_tag>
bool storages::redis::ScanRequest< scan_tag >::Iterator::operator!= ( const Iterator & rhs) const
inline

Definition at line 118 of file request.hpp.

◆ operator*()

template<ScanTag scan_tag>
reference storages::redis::ScanRequest< scan_tag >::Iterator::operator* ( )
inline

Definition at line 112 of file request.hpp.

◆ operator++() [1/2]

template<ScanTag scan_tag>
Iterator & storages::redis::ScanRequest< scan_tag >::Iterator::operator++ ( )
inline

Definition at line 106 of file request.hpp.

◆ operator++() [2/2]

template<ScanTag scan_tag>
ReplyElemHolder storages::redis::ScanRequest< scan_tag >::Iterator::operator++ ( int )
inline

Definition at line 100 of file request.hpp.

◆ operator->()

template<ScanTag scan_tag>
pointer storages::redis::ScanRequest< scan_tag >::Iterator::operator-> ( )
inline

Definition at line 114 of file request.hpp.

◆ operator==()

template<ScanTag scan_tag>
bool storages::redis::ScanRequest< scan_tag >::Iterator::operator== ( const Iterator & rhs) const
inline

Definition at line 116 of file request.hpp.


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