iterates serialized swap meta fields loaded into a given buffer More...
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const SwapMetaView |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
SwapMetaIterator (const void *start, const void *end) | |
positions iterator at the start of a swap meta field extending up to end More... | |
reference | operator* () const |
pointer | operator-> () const |
SwapMetaIterator & | operator++ () |
bool | operator== (const SwapMetaIterator &them) const |
bool | operator!= (const SwapMetaIterator &them) const |
Private Member Functions | |
void | sync () |
(re)set meta_ More... | |
Private Attributes | |
const char * | fieldStart_ |
the start of the current field More... | |
const void *const | bufEnd_ |
last field must end at this boundary More... | |
SwapMetaView | meta_ |
current field; valid after sync() and before end More... | |
Detailed Description
Definition at line 26 of file SwapMetaIn.cc.
Member Typedef Documentation
◆ iterator_category
using Store::SwapMetaIterator::iterator_category = std::forward_iterator_tag |
Definition at line 30 of file SwapMetaIn.cc.
◆ pointer
using Store::SwapMetaIterator::pointer = value_type * |
Definition at line 32 of file SwapMetaIn.cc.
◆ reference
using Store::SwapMetaIterator::reference = value_type & |
Definition at line 33 of file SwapMetaIn.cc.
◆ value_type
using Store::SwapMetaIterator::value_type = const SwapMetaView |
Definition at line 31 of file SwapMetaIn.cc.
Constructor & Destructor Documentation
◆ SwapMetaIterator()
Store::SwapMetaIterator::SwapMetaIterator | ( | const void * | start, |
const void * | end | ||
) |
Definition at line 176 of file SwapMetaIn.cc.
References sync().
Member Function Documentation
◆ operator!=()
|
inline |
Definition at line 43 of file SwapMetaIn.cc.
◆ operator*()
|
inline |
Definition at line 39 of file SwapMetaIn.cc.
References meta_.
◆ operator++()
Store::SwapMetaIterator & Store::SwapMetaIterator::operator++ | ( | ) |
Definition at line 184 of file SwapMetaIn.cc.
References Assure.
◆ operator->()
|
inline |
Definition at line 40 of file SwapMetaIn.cc.
References meta_.
◆ operator==()
|
inline |
Definition at line 42 of file SwapMetaIn.cc.
References fieldStart_.
◆ sync()
|
private |
Member Data Documentation
◆ bufEnd_
|
private |
Definition at line 49 of file SwapMetaIn.cc.
◆ fieldStart_
|
private |
Definition at line 48 of file SwapMetaIn.cc.
Referenced by operator==().
◆ meta_
|
private |
Definition at line 50 of file SwapMetaIn.cc.
Referenced by operator*(), and operator->().
The documentation for this class was generated from the following file:
- src/store/SwapMetaIn.cc