Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
scan_result::iterator Class Reference

An iterator that can be used to iterate through all the scan_result_items. More...

#include <couchbase/scan_result.hxx>

Public Types

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

Public Member Functions

auto operator== (const iterator &other) const -> bool
 
auto operator!= (const iterator &other) const -> bool
 
auto operator* () -> std::pair< error, scan_result_item >
 
auto operator++ () -> iterator &
 
 iterator (std::shared_ptr< internal_scan_result > internal)
 
 iterator (std::pair< error, scan_result_item > item)
 

Detailed Description

An iterator that can be used to iterate through all the scan_result_items.

Since
1.0.0
Volatile
Should not be used in production

Member Typedef Documentation

◆ difference_type

using difference_type = std::ptrdiff_t

◆ iterator_category

using iterator_category = std::input_iterator_tag

◆ pointer

using pointer = const scan_result_item*

◆ reference

using reference = const scan_result_item&

◆ value_type

Constructor & Destructor Documentation

◆ iterator() [1/2]

iterator ( std::shared_ptr< internal_scan_result > internal)
explicit

◆ iterator() [2/2]

iterator ( std::pair< error, scan_result_item > item)
explicit

Member Function Documentation

◆ operator!=()

auto operator!= ( const iterator & other) const -> bool

◆ operator*()

auto operator* ( ) -> std::pair< error, scan_result_item >

◆ operator++()

auto operator++ ( ) -> iterator &

◆ operator==()

auto operator== ( const iterator & other) const -> bool

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