#include <block.h>

BaseIterator specialization for elements having a different offset from each other than the element size.
| COLLECTION | Type of the array. |
Public Types | |
| using | Super = BaseIterator< COLLECTION, false > |
| using | ValueType = typename Super::ValueType |
Public Types inherited from BaseIterator< COLLECTION, false > | |
| using | CollectionType = COLLECTION |
| using | ValueType = typename InheritConst< typename COLLECTION::ValueType, COLLECTION >::type |
| using | iterator_category = std::random_access_iterator_tag |
| using | difference_type = Int |
| using | value_type = ValueType |
| using | pointer = ValueType * |
| using | reference = ValueType & |
Protected Attributes | |
| const Int | _stride |
| Int | _index |
Protected Attributes inherited from BaseIterator< COLLECTION, false > | |
| ValueType * | _data |
Additional Inherited Members | |
Static Public Attributes inherited from BaseIterator< COLLECTION, false > | |
| static const Bool | isLinearIterator |
| using Super = BaseIterator<COLLECTION, false> |
| using ValueType = typename Super::ValueType |
| BaseIterator | ( | COLLECTION & | a, |
| Int | index | ||
| ) |
| BaseIterator | ( | ValueType * | pos, |
| Int | index, | ||
| Int | stride | ||
| ) |
|
default |
|
default |
| operator BaseIterator< typename std::add_const< COLLECTION >::type, true > & | ( | ) |
| Bool operator== | ( | const BaseIterator< COLLECTION, true > & | b | ) | const |
| Bool operator< | ( | const BaseIterator< COLLECTION, true > & | b | ) | const |
| MAXON_OPERATOR_COMPARISON | ( | BaseIterator< COLLECTION, true > | ) |
| BaseIterator& operator++ | ( | ) |
| BaseIterator operator++ | ( | int | ) |
| BaseIterator& operator+= | ( | Int | i | ) |
| BaseIterator& operator-- | ( | ) |
| BaseIterator operator-- | ( | int | ) |
| BaseIterator& operator-= | ( | Int | i | ) |
| BaseIterator operator+ | ( | Int | i | ) | const |
| BaseIterator operator- | ( | Int | i | ) | const |
| Int operator- | ( | const BaseIterator< COLLECTION, true > & | b | ) | const |
|
protected |
|
protected |