Struct IStreamQuadIterator::Impl

Nested Relationships

This struct is a nested type of Struct IStreamQuadIterator.

Struct Documentation

struct Impl

Public Functions

virtual ~Impl() = default
virtual std::optional<nonstd::expected<ok_type, error_type>> next() = 0

Tries to extract the next element from the backend. Will try to skip over errors so that the next call might be able to return a value.

Note

Call until std::nullopt is returned

Returns:

std::nullopt: if there is no next element (eof) expected Quad: if there was a next element and it could be parsed unexpected ParsingError: if there was a next element but it could not be parsed

virtual uint64_t current_line() const noexcept = 0
virtual uint64_t current_column() const noexcept = 0
Impl() = default
Impl(Impl const&) = delete
Impl(Impl&&) = delete
Impl &operator=(Impl const&) = delete
Impl &operator=(Impl&&) = delete