Hyper API for C++ 0.0.20746
Hyper client library for C++ applications
Loading...
Searching...
No Matches
hyperapi::ChunkedResultIterator Class Referencefinal

Iterates over a hyperapi::Result in hyperapi::Chunk. More...

#include <Result.hpp>

Public Types

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

Public Member Functions

 ChunkedResultIterator (Result &result, IteratorBeginTag)
 Constructs the begin-iterator.
 
 ChunkedResultIterator (Result &result, IteratorEndTag) noexcept
 Constructs the end-iterator.
 
reference operator* () noexcept
 Returns a reference to the current value.
 
pointer operator-> () noexcept
 Returns a pointer to the current value.
 
ChunkedResultIteratoroperator++ ()
 Advances the iterator.
 

Detailed Description

Iterates over a hyperapi::Result in hyperapi::Chunk.

Definition at line 498 of file Result.hpp.

Member Typedef Documentation

◆ difference_type

using hyperapi::ChunkedResultIterator::difference_type = std::ptrdiff_t

Definition at line 502 of file Result.hpp.

◆ iterator_category

using hyperapi::ChunkedResultIterator::iterator_category = std::input_iterator_tag

Definition at line 500 of file Result.hpp.

◆ pointer

Definition at line 503 of file Result.hpp.

◆ reference

Definition at line 504 of file Result.hpp.

◆ value_type

Definition at line 501 of file Result.hpp.

Constructor & Destructor Documentation

◆ ChunkedResultIterator()

hyperapi::ChunkedResultIterator::ChunkedResultIterator ( Result result,
IteratorEndTag   
)
inlinenoexcept

Constructs the end-iterator.

Definition at line 509 of file Result.hpp.

Member Function Documentation

◆ operator*()

reference hyperapi::ChunkedResultIterator::operator* ( )
inlinenoexcept

Returns a reference to the current value.

Definition at line 514 of file Result.hpp.

◆ operator->()

pointer hyperapi::ChunkedResultIterator::operator-> ( )
inlinenoexcept

Returns a pointer to the current value.

Definition at line 517 of file Result.hpp.


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