userver: storages::mongo::Cursor::Iterator Class Reference
Loading...
Searching...
No Matches
storages::mongo::Cursor::Iterator Class Reference

Detailed Description

Definition at line 27 of file cursor.hpp.

Classes

class  DocHolder
 

Public Types

using iterator_category = std::input_iterator_tag
 
using difference_type = ptrdiff_t
 
using value_type = formats::bson::Document
 
using reference = const value_type&
 
using pointer = const value_type*
 

Public Member Functions

 Iterator (Cursor *)
 
DocHolder operator++ (int)
 
Iteratoroperator++ ()
 
reference operator* () const
 
pointer operator-> () const
 
bool operator== (const Iterator &) const
 
bool operator!= (const Iterator &) const
 

Member Typedef Documentation

◆ difference_type

using storages::mongo::Cursor::Iterator::difference_type = ptrdiff_t

Definition at line 30 of file cursor.hpp.

◆ iterator_category

using storages::mongo::Cursor::Iterator::iterator_category = std::input_iterator_tag

Definition at line 29 of file cursor.hpp.

◆ pointer

Definition at line 33 of file cursor.hpp.

◆ reference

Definition at line 32 of file cursor.hpp.

◆ value_type


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