#include <alpaqa/util/ringbuffer.hpp>
Definition at line 88 of file ringbuffer.hpp.
Public Types | |
using | ForwardIterator = CircularIndexIterator< IndexT > |
using | Index = typename ForwardIterator::Index |
using | Indices = typename ForwardIterator::Indices |
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 | |
ReverseCircularIndexIterator () | |
ReverseCircularIndexIterator (Indices i, Index max) | |
ReverseCircularIndexIterator (ForwardIterator forwardit) | |
reference | operator* () const |
ReverseCircularIndexIterator & | operator++ () |
ReverseCircularIndexIterator & | operator-- () |
ReverseCircularIndexIterator | operator++ (int) |
ReverseCircularIndexIterator | operator-- (int) |
Public Attributes | |
ForwardIterator | forwardit |
Related Functions | |
(Note that these are not member functions.) | |
template<class IndexT > | |
bool | operator== (ReverseCircularIndexIterator< IndexT > a, ReverseCircularIndexIterator< IndexT > b) |
template<class IndexT > | |
bool | operator!= (ReverseCircularIndexIterator< IndexT > a, ReverseCircularIndexIterator< IndexT > b) |
using ForwardIterator = CircularIndexIterator<IndexT> |
Definition at line 89 of file ringbuffer.hpp.
using Index = typename ForwardIterator::Index |
Definition at line 90 of file ringbuffer.hpp.
using Indices = typename ForwardIterator::Indices |
Definition at line 91 of file ringbuffer.hpp.
using value_type = Indices |
Definition at line 100 of file ringbuffer.hpp.
using reference = value_type |
Definition at line 101 of file ringbuffer.hpp.
using difference_type = std::ptrdiff_t |
Definition at line 102 of file ringbuffer.hpp.
using pointer = void |
Definition at line 103 of file ringbuffer.hpp.
using iterator_category = std::input_iterator_tag |
Definition at line 104 of file ringbuffer.hpp.
|
inline |
Definition at line 93 of file ringbuffer.hpp.
|
inline |
Definition at line 94 of file ringbuffer.hpp.
|
inline |
Definition at line 95 of file ringbuffer.hpp.
|
inline |
Definition at line 106 of file ringbuffer.hpp.
|
inline |
Definition at line 110 of file ringbuffer.hpp.
|
inline |
Definition at line 114 of file ringbuffer.hpp.
|
inline |
Definition at line 118 of file ringbuffer.hpp.
|
inline |
Definition at line 123 of file ringbuffer.hpp.
|
related |
Definition at line 133 of file ringbuffer.hpp.
|
related |
Definition at line 140 of file ringbuffer.hpp.
ForwardIterator forwardit |
Definition at line 98 of file ringbuffer.hpp.