|
Electroneum
|
#include <value_stream.h>
Public Types | |
| using | value_type = F |
| using | reference = value_type |
| using | pointer = void |
| using | difference_type = std::size_t |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| value_iterator () noexcept | |
| Construct an "end" iterator. | |
| value_iterator (MDB_cursor *cur) | |
| value_iterator (value_iterator const &)=default | |
| ~value_iterator ()=default | |
| value_iterator & | operator= (value_iterator const &)=default |
| bool | is_end () const noexcept |
| bool | equal (value_iterator const &rhs) const noexcept |
| value_iterator & | operator++ () |
| Invalidates all prior copies of the iterator. | |
| value_iterator | operator++ (int) |
| template<typename U, typename G = U, std::size_t uoffset = 0> | |
| G | get_value () const noexcept |
| value_type | operator* () const noexcept |
An InputIterator for a fixed-sized LMDB value at a specific key.
| T | The value type at the specific key. |
| F | The value type being returned when dereferenced. |
| offset | to F within T. |
Definition at line 82 of file value_stream.h.
| using lmdb::value_iterator< T, F, offset >::difference_type = std::size_t |
Definition at line 98 of file value_stream.h.
| using lmdb::value_iterator< T, F, offset >::iterator_category = std::input_iterator_tag |
Definition at line 99 of file value_stream.h.
| using lmdb::value_iterator< T, F, offset >::pointer = void |
Definition at line 97 of file value_stream.h.
| using lmdb::value_iterator< T, F, offset >::reference = value_type |
Definition at line 96 of file value_stream.h.
| using lmdb::value_iterator< T, F, offset >::value_type = F |
Definition at line 95 of file value_stream.h.
|
inlinenoexcept |
Construct an "end" iterator.
Definition at line 102 of file value_stream.h.

|
inline |
| cur | Iterate over values starting at this cursor position. |
| std::system_error | if unexpected LMDB error. This can happen if cur is invalid. |
Definition at line 111 of file value_stream.h.

|
default |

|
default |
|
inlinenoexcept |
Definition at line 126 of file value_stream.h.

|
inlinenoexcept |
Get a specific field within F. Default behavior is to return the entirety of U, despite the filtering logic of operator*.
| U | must match T, used for ELECTRONEUM_FIELD sanity checking. |
| G | field type to extract from the value |
| uoffset | to G type, or 0 when std::is_same<U, G>(). |
Definition at line 161 of file value_stream.h.


|
inlinenoexcept |
Definition at line 123 of file value_stream.h.

|
inlinenoexcept |
Definition at line 176 of file value_stream.h.

|
inline |
Invalidates all prior copies of the iterator.
Definition at line 134 of file value_stream.h.

|
inline |
Definition at line 141 of file value_stream.h.

|
default |
