userver: storages::redis::ScanRequest< scan_tag >::Iterator 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
storages::redis::ScanRequest< scan_tag >::Iterator Class Reference

Detailed Description

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

Definition at line 84 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 87 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 86 of file request.hpp.

◆ pointer

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

Definition at line 90 of file request.hpp.

◆ reference

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

Definition at line 89 of file request.hpp.

◆ value_type

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

Definition at line 88 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 92 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 127 of file request.hpp.

◆ operator*()

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

Definition at line 119 of file request.hpp.

◆ operator++() [1/2]

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

Definition at line 113 of file request.hpp.

◆ operator++() [2/2]

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

Definition at line 107 of file request.hpp.

◆ operator->()

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

Definition at line 121 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 123 of file request.hpp.


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