![]() |
Mapper
0.9.0
API documentation
|
A template class which provides a forward iterator for OCD entity indices. More...
#include <ocd_types.h>
Public Types | |
using | value_type = V |
using | EntryType = typename V::EntryType |
using | IndexBlock = const Ocd::IndexBlock< EntryType > |
Public Member Functions | |
OcdEntityIndexIterator () noexcept=default | |
OcdEntityIndexIterator (const OcdEntityIndexIterator &) noexcept=default | |
OcdEntityIndexIterator (OcdEntityIndexIterator &&) noexcept=default | |
OcdEntityIndexIterator (const QByteArray &byte_array, const IndexBlock *first_block) | |
OcdEntityIndexIterator & | operator= (const OcdEntityIndexIterator &) noexcept=default |
OcdEntityIndexIterator & | operator= (OcdEntityIndexIterator &&) noexcept=default |
OcdEntityIndexIterator & | operator++ () |
OcdEntityIndexIterator | operator++ (int) |
value_type | operator* () const |
bool | operator== (const OcdEntityIndexIterator< V > &rhs) const |
bool | operator!= (const OcdEntityIndexIterator< V > &rhs) const |
A template class which provides a forward iterator for OCD entity indices.
Dereferencing the iterator returns the index entry. The entity must be fetched via the OcdFile<F>::operator[].
As with regular STL iterator, dereferencing and incrementing must only be called when the iterator is dereferenceable or incrementable state, respectively.
V | the index value type |
using OcdEntityIndexIterator< V >::EntryType = typename V::EntryType |
using OcdEntityIndexIterator< V >::IndexBlock = const Ocd::IndexBlock<EntryType> |
using OcdEntityIndexIterator< V >::value_type = V |
|
defaultnoexcept |
|
defaultnoexcept |
|
defaultnoexcept |
OcdEntityIndexIterator< V >::OcdEntityIndexIterator | ( | const QByteArray & | byte_array, |
const IndexBlock * | first_block | ||
) |
bool OcdEntityIndexIterator< V >::operator!= | ( | const OcdEntityIndexIterator< V > & | rhs | ) | const |
OcdEntityIndexIterator< V >::value_type OcdEntityIndexIterator< V >::operator* | ( | ) | const |
OcdEntityIndexIterator< V > & OcdEntityIndexIterator< V >::operator++ | ( | ) |
OcdEntityIndexIterator< V > OcdEntityIndexIterator< V >::operator++ | ( | int | ) |
|
defaultnoexcept |
|
defaultnoexcept |
bool OcdEntityIndexIterator< V >::operator== | ( | const OcdEntityIndexIterator< V > & | rhs | ) | const |