Struct Dataset::solution_iterator

Nested Relationships

This struct is a nested type of Struct Dataset.

Struct Documentation

struct solution_iterator

Public Types

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

Public Functions

solution_iterator(Dataset const *parent, query::QuadPattern const &pat, typename storage_type::const_iterator beg, typename storage_type::const_iterator end) noexcept
solution_iterator &operator++() noexcept
void operator++(int) noexcept
reference operator*() const noexcept
pointer operator->() const noexcept

Friends

friend bool operator==(solution_iterator const &self, sentinel) noexcept
friend bool operator==(sentinel, solution_iterator const &self) noexcept