iterator class for array chunks More...
#include <MRChunkIterator.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = Chunk |
using | difference_type = std::ptrdiff_t |
using | pointer = Chunk* |
using | reference = Chunk& |
Public Member Functions | |
MRMESH_API bool | operator== (const ChunkIterator &other) const |
MRMESH_API ChunkIterator & | operator++ () |
MRMESH_API ChunkIterator | operator++ (int) |
MRMESH_API Chunk | operator* () const |
Chunk | operator-> () const |
Public Attributes | |
size_t | totalSize { 0 } |
size_t | chunkSize { 0 } |
size_t | overlap { 0 } |
size_t | index { 0 } |
iterator class for array chunks
using MR::ChunkIterator::difference_type = std::ptrdiff_t |
using MR::ChunkIterator::iterator_category = std::input_iterator_tag |
using MR::ChunkIterator::pointer = Chunk* |
using MR::ChunkIterator::reference = Chunk& |
using MR::ChunkIterator::value_type = Chunk |
MRMESH_API Chunk MR::ChunkIterator::operator* | ( | ) | const |
MRMESH_API ChunkIterator & MR::ChunkIterator::operator++ | ( | ) |
MRMESH_API ChunkIterator MR::ChunkIterator::operator++ | ( | int | ) |
|
inline |
MRMESH_API bool MR::ChunkIterator::operator== | ( | const ChunkIterator & | other | ) | const |
size_t MR::ChunkIterator::chunkSize { 0 } |
size_t MR::ChunkIterator::index { 0 } |
size_t MR::ChunkIterator::overlap { 0 } |
size_t MR::ChunkIterator::totalSize { 0 } |