|
Sen API
Sen Libraries
|
A cursor that can be used to iterate over the contents of a recording. The cursor holds a payload which can have one of the values given as type arguments. More...
#include <cursor.h>
Classes | |
| struct | Entry |
| The current entry. More... | |
Public Types | |
| using | Payload = std::variant<std::monostate, T..., End> |
| The content of the current entry. | |
Public Member Functions | |
| ~Cursor ()=default | |
| bool | atEnd () const noexcept |
| True if the cursor is at the end of the recording. | |
| bool | atBegining () const noexcept |
| True if the cursor is at the start of the recording. | |
| const Entry & | get () const noexcept |
| The current entry. | |
| const Entry & | operator-> () const noexcept |
| The current entry. | |
| Cursor & | operator++ () |
| Advance the cursor one step. | |
Friends | |
| class | Input |
A cursor that can be used to iterate over the contents of a recording. The cursor holds a payload which can have one of the values given as type arguments.
| struct sen::db::Cursor::Entry |
| using sen::db::Cursor< End, T >::Payload = std::variant<std::monostate, T..., End> |
The content of the current entry.
|
default |
|
inlinenodiscardnoexcept |
True if the cursor is at the end of the recording.
|
inlinenodiscardnoexcept |
True if the cursor is at the start of the recording.
|
inlinenodiscardnoexcept |
The current entry.
|
inlinenodiscardnoexcept |
The current entry.
|
inline |
Advance the cursor one step.
|
friend |