|
Squid Web Cache master
|
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 | |
| 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_ | |
Private Attributes | |
| const char * | fieldStart_ |
| the start of the current field | |
| const void *const | bufEnd_ |
| last field must end at this boundary | |
| SwapMetaView | meta_ |
| current field; valid after sync() and before end | |
Definition at line 26 of file SwapMetaIn.cc.
| using Store::SwapMetaIterator::iterator_category = std::forward_iterator_tag |
Definition at line 30 of file SwapMetaIn.cc.
| using Store::SwapMetaIterator::pointer = value_type * |
Definition at line 32 of file SwapMetaIn.cc.
| using Store::SwapMetaIterator::reference = value_type & |
Definition at line 33 of file SwapMetaIn.cc.
| using Store::SwapMetaIterator::value_type = const SwapMetaView |
Definition at line 31 of file SwapMetaIn.cc.
| Store::SwapMetaIterator::SwapMetaIterator | ( | const void * | start, |
| const void * | end | ||
| ) |
Definition at line 176 of file SwapMetaIn.cc.
References sync().
|
inline |
Definition at line 43 of file SwapMetaIn.cc.
|
inline |
Definition at line 39 of file SwapMetaIn.cc.
References meta_.
| Store::SwapMetaIterator & Store::SwapMetaIterator::operator++ | ( | ) |
Definition at line 184 of file SwapMetaIn.cc.
References Assure.
|
inline |
Definition at line 40 of file SwapMetaIn.cc.
References meta_.
|
inline |
Definition at line 42 of file SwapMetaIn.cc.
References fieldStart_.
|
private |
|
private |
Definition at line 49 of file SwapMetaIn.cc.
|
private |
Definition at line 48 of file SwapMetaIn.cc.
Referenced by operator==().
|
private |
Definition at line 50 of file SwapMetaIn.cc.
Referenced by operator*(), and operator->().