SPH
|
#include <IteratorAdapters.h>
Public Types | |
using | iterator_category = typename TIterator::iterator_category |
using | value_type = RawT |
using | difference_type = std::ptrdiff_t |
using | pointer = RawT * |
using | reference = RawT & |
Public Member Functions | |
ComponentIterator ()=default | |
ComponentIterator (const TIterator &iterator, const int component) | |
const RawT & | operator* () const |
RawT & | operator* () |
ComponentIterator & | operator++ () |
ComponentIterator | operator++ (int) |
ComponentIterator & | operator-- () |
ComponentIterator | operator-- (int) |
ComponentIterator | operator+ (const int n) const |
ComponentIterator | operator- (const int n) const |
void | operator+= (const int n) |
void | operator-= (const int n) |
Size | operator- (const ComponentIterator &other) const |
bool | operator< (const ComponentIterator &other) const |
bool | operator> (const ComponentIterator &other) const |
bool | operator<= (const ComponentIterator &other) const |
bool | operator>= (const ComponentIterator &other) const |
bool | operator== (const ComponentIterator &other) |
bool | operator!= (const ComponentIterator &other) |
Provides iterator over selected component of vector array or any iterable container holding vectors. Can be used in STL algorithms, namely in std::sort.
Definition at line 126 of file IteratorAdapters.h.
using ComponentIterator< TIterator >::difference_type = std::ptrdiff_t |
Definition at line 137 of file IteratorAdapters.h.
using ComponentIterator< TIterator >::iterator_category = typename TIterator::iterator_category |
Definition at line 135 of file IteratorAdapters.h.
using ComponentIterator< TIterator >::pointer = RawT* |
Definition at line 138 of file IteratorAdapters.h.
using ComponentIterator< TIterator >::reference = RawT& |
Definition at line 139 of file IteratorAdapters.h.
using ComponentIterator< TIterator >::value_type = RawT |
Definition at line 136 of file IteratorAdapters.h.
|
default |
|
inline |
Definition at line 143 of file IteratorAdapters.h.
|
inline |
Definition at line 206 of file IteratorAdapters.h.
|
inline |
Definition at line 151 of file IteratorAdapters.h.
|
inline |
Definition at line 147 of file IteratorAdapters.h.
|
inline |
Definition at line 175 of file IteratorAdapters.h.
|
inline |
Definition at line 155 of file IteratorAdapters.h.
|
inline |
Definition at line 159 of file IteratorAdapters.h.
|
inline |
Definition at line 181 of file IteratorAdapters.h.
|
inline |
Definition at line 188 of file IteratorAdapters.h.
|
inline |
Definition at line 178 of file IteratorAdapters.h.
|
inline |
Definition at line 164 of file IteratorAdapters.h.
|
inline |
Definition at line 168 of file IteratorAdapters.h.
|
inline |
Definition at line 184 of file IteratorAdapters.h.
|
inline |
Definition at line 191 of file IteratorAdapters.h.
|
inline |
Definition at line 197 of file IteratorAdapters.h.
|
inline |
Definition at line 203 of file IteratorAdapters.h.
|
inline |
Definition at line 194 of file IteratorAdapters.h.
|
inline |
Definition at line 200 of file IteratorAdapters.h.