Class Reader::Iterable
Defined in File Log.hpp
Nested Relationships
This class is a nested type of Class Log::Reader.
Nested Types
Class Documentation
-
class Iterable
Public Types
-
using const_iterator = iterator
Public Functions
-
iterator begin() const
Get the beginning iterator of the read.
-
iterator end() const
Get the ending iterator of the read.
-
class iterator
Public Functions
-
const Entry &operator*() const
Dereference operator.
-
const Entry *operator->() const
Drill-down operator.
-
iterator &operator++()
Pre-increment operator: ++it
Note
This is more efficient than the post-increment operator.
Warning
It is undefined behavior to perform this operation on an iterator that is equal to Log::Reader::Iterable::end().
- Returns:
a reference to the iterator itself
-
iterator operator++(int)
Post-increment operator: it++
Warning
It is undefined behavior to perform this operation on an iterator that is equal to Log::Reader::Iterable::end().
- Returns:
a copy of the iterator before it was incremented.
-
bool operator==(const iterator &other) const
Equality comparison operator.
-
bool operator!=(const iterator &other) const
Inequality comparison operator.
-
const Entry &operator*() const
-
using const_iterator = iterator