preCICE v3.1.2
|
#include <RangeAccessor.hpp>
Public Member Functions | |
IndexRangeIterator ()=default | |
IndexRangeIterator (Source *src, size_t index) | |
const Value & | dereference () const |
size_t | equal (const IndexRangeIterator< Source, Value > &other) const |
void | increment () |
void | decrement () |
void | advance (size_t n) |
size_t | distance_to (const IndexRangeIterator< Source, Value > &other) const |
Private Attributes | |
Source * | src_ {nullptr} |
the source to access | |
size_t | idx_ {0} |
the current index to access | |
random-access iterator over an indexable Source.
Source | the underlying container to index into |
Value | the resulting value |
src.vertex(index).getCoords()
access. Definition at line 15 of file RangeAccessor.hpp.
|
default |
|
inline |
Definition at line 21 of file RangeAccessor.hpp.
|
inline |
Definition at line 51 of file RangeAccessor.hpp.
|
inline |
Definition at line 46 of file RangeAccessor.hpp.
|
inline |
Definition at line 24 of file RangeAccessor.hpp.
|
inline |
Definition at line 56 of file RangeAccessor.hpp.
|
inline |
Definition at line 36 of file RangeAccessor.hpp.
|
inline |
Definition at line 41 of file RangeAccessor.hpp.
|
private |
the current index to access
Definition at line 63 of file RangeAccessor.hpp.
|
private |
the source to access
Definition at line 62 of file RangeAccessor.hpp.