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)
Iterator & operator++ ()
reference operator* () const
pointer operator-> () 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

using storages::mongo::Cursor::Iterator::pointer = const value_type*

Definition at line 33 of file cursor.hpp.

◆ reference

using storages::mongo::Cursor::Iterator::reference = const value_type&

Definition at line 32 of file cursor.hpp.

◆ value_type

using storages::mongo::Cursor::Iterator::value_type = formats::bson::Document

Definition at line 31 of file cursor.hpp.


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