Hyper API for C++ 0.0.19484
Hyper client library for C++ applications
No Matches
hyperapi::ColumnIterator Class Referencefinal

Iterates over a hyperapi::Row in values (hyperapi::Value). More...

#include <Result.hpp>

Public Types

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

Public Member Functions

 ColumnIterator (const Row &row, IteratorBeginTag) noexcept
 Constructs the begin-iterator.
 ColumnIterator (const Row &row, IteratorEndTag) noexcept
 Constructs the end-iterator.
reference operator* () const noexcept
 Returns a reference to the current value.
pointer operator-> () const noexcept
 Returns a pointer to the current value.
ColumnIteratoroperator++ ()
 Advances the iterator.
ColumnIterator operator++ (int)
 Advances the iterator.

Detailed Description

Iterates over a hyperapi::Row in values (hyperapi::Value).

Definition at line 445 of file Result.hpp.

Member Typedef Documentation

◆ difference_type

using hyperapi::ColumnIterator::difference_type = std::ptrdiff_t

Definition at line 449 of file Result.hpp.

◆ iterator_category

using hyperapi::ColumnIterator::iterator_category = std::input_iterator_tag

Definition at line 447 of file Result.hpp.

◆ pointer

Definition at line 450 of file Result.hpp.

◆ reference

Definition at line 451 of file Result.hpp.

◆ value_type

Definition at line 448 of file Result.hpp.

Constructor & Destructor Documentation

◆ ColumnIterator() [1/2]

hyperapi::ColumnIterator::ColumnIterator ( const Row row,

Constructs the begin-iterator.

Definition at line 454 of file Result.hpp.

◆ ColumnIterator() [2/2]

hyperapi::ColumnIterator::ColumnIterator ( const Row row,

Constructs the end-iterator.

Definition at line 459 of file Result.hpp.

Member Function Documentation

◆ operator->()

pointer hyperapi::ColumnIterator::operator-> ( ) const

Returns a pointer to the current value.

Definition at line 467 of file Result.hpp.

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