This implements a constant iterator to a result-set.
More...
#include <result_iterator.h>
This implements a constant iterator to a result-set.
◆ operator!=()
bool tntdb::Result::const_iterator::operator!= |
( |
const const_iterator & |
it | ) |
const |
|
inline |
Returns true, if the passed iterator points to different rows.
The iterators should point to the same resultset. This is not checked. Only the offsets are considered.
◆ operator*()
returns a reference to the current Row-object.
◆ operator+()
const_iterator tntdb::Result::const_iterator::operator+ |
( |
difference_type |
n | ) |
const |
|
inline |
Returns a iterator, which points n elements further.
◆ operator++() [1/2]
Advances the iterator to the next element and returns the iterator to that element.
◆ operator++() [2/2]
Advances the iterator to the next element and returns the previous iterator.
◆ operator+=()
const_iterator& tntdb::Result::const_iterator::operator+= |
( |
difference_type |
n | ) |
|
|
inline |
Advances the iterator n elements and returns the iterator to that element.
◆ operator-() [1/2]
const_iterator tntdb::Result::const_iterator::operator- |
( |
difference_type |
n | ) |
const |
|
inline |
Returns a iterator, which points n elements back.
◆ operator-() [2/2]
difference_type tntdb::Result::const_iterator::operator- |
( |
const const_iterator & |
it | ) |
const |
|
inline |
Returns the distance between 2 iterators.
The iterators should point to the same resultset. This is not checked. Only the offsets are used.
◆ operator--() [1/2]
Moves the iterator to the previous element and returns the iterator to that element.
◆ operator--() [2/2]
Moves the iterator to the previous element and returns the previous iterator.
◆ operator-=()
const_iterator& tntdb::Result::const_iterator::operator-= |
( |
difference_type |
n | ) |
|
|
inline |
Moves the iterator n elements back and returns the iterator to that element.
◆ operator->()
const_pointer tntdb::Result::const_iterator::operator-> |
( |
| ) |
const |
|
inline |
returns a pointer to the current Row-object.
◆ operator==()
bool tntdb::Result::const_iterator::operator== |
( |
const const_iterator & |
it | ) |
const |
|
inline |
Returns true, if the passed iterator points to the same row.
The iterators should point to the same resultset. This is not checked. Only the offsets are considered.
The documentation for this class was generated from the following file:
- tntdb/bits/result_iterator.h