#include <alpaqa/include/alpaqa/util/ringbuffer.hpp>
Definition at line 30 of file ringbuffer.hpp.
Public Types | |
using | Index = IndexT |
using | Indices = CircularIndices< Index > |
using | value_type = Indices |
using | reference = value_type |
using | difference_type = std::ptrdiff_t |
using | pointer = void |
using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
CircularIndexIterator () | |
CircularIndexIterator (Indices i, Index max) | |
reference | operator* () const |
CircularIndexIterator & | operator++ () |
CircularIndexIterator & | operator-- () |
CircularIndexIterator | operator++ (int) |
CircularIndexIterator | operator-- (int) |
Public Attributes | |
Indices | i |
Index | max |
Related Functions | |
(Note that these are not member functions.) | |
template<class IndexT > | |
bool | operator== (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
template<class IndexT > | |
bool | operator!= (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
using Index = IndexT |
Definition at line 31 of file ringbuffer.hpp.
using Indices = CircularIndices<Index> |
Definition at line 32 of file ringbuffer.hpp.
using value_type = Indices |
Definition at line 40 of file ringbuffer.hpp.
using reference = value_type |
Definition at line 41 of file ringbuffer.hpp.
using difference_type = std::ptrdiff_t |
Definition at line 42 of file ringbuffer.hpp.
using pointer = void |
Definition at line 43 of file ringbuffer.hpp.
using iterator_category = std::input_iterator_tag |
Definition at line 44 of file ringbuffer.hpp.
|
inline |
Definition at line 34 of file ringbuffer.hpp.
|
inline |
Definition at line 35 of file ringbuffer.hpp.
|
inline |
Definition at line 46 of file ringbuffer.hpp.
|
inline |
Definition at line 47 of file ringbuffer.hpp.
|
inline |
Definition at line 53 of file ringbuffer.hpp.
|
inline |
Definition at line 59 of file ringbuffer.hpp.
|
inline |
Definition at line 64 of file ringbuffer.hpp.
|
related |
Definition at line 74 of file ringbuffer.hpp.
|
related |
Definition at line 82 of file ringbuffer.hpp.
Indices i |
Definition at line 37 of file ringbuffer.hpp.
Index max |
Definition at line 38 of file ringbuffer.hpp.