|
guanaqo
1.0.0-alpha.26
Utilities for scientific software
|
#include <guanaqo/ringbuffer.hpp>
Definition at line 35 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 Symbols | |
(Note that these are not member symbols.) | |
| template<class IndexT> | |
| bool | operator== (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
| template<class IndexT> | |
| bool | operator!= (CircularIndexIterator< IndexT > a, CircularIndexIterator< IndexT > b) |
| using guanaqo::CircularIndexIterator< IndexT >::Index = IndexT |
Definition at line 36 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::Indices = CircularIndices<Index> |
Definition at line 37 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::value_type = Indices |
Definition at line 45 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::reference = value_type |
Definition at line 46 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::difference_type = std::ptrdiff_t |
Definition at line 47 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::pointer = void |
Definition at line 48 of file ringbuffer.hpp.
| using guanaqo::CircularIndexIterator< IndexT >::iterator_category = std::input_iterator_tag |
Definition at line 49 of file ringbuffer.hpp.
|
inline |
Definition at line 39 of file ringbuffer.hpp.
|
inline |
Definition at line 40 of file ringbuffer.hpp.
|
inline |
Definition at line 51 of file ringbuffer.hpp.
|
inline |
Definition at line 52 of file ringbuffer.hpp.
|
inline |
Definition at line 58 of file ringbuffer.hpp.
|
inline |
Definition at line 64 of file ringbuffer.hpp.
|
inline |
Definition at line 69 of file ringbuffer.hpp.
|
Definition at line 79 of file ringbuffer.hpp.
|
Definition at line 87 of file ringbuffer.hpp.
| Indices guanaqo::CircularIndexIterator< IndexT >::i |
Definition at line 42 of file ringbuffer.hpp.
| Index guanaqo::CircularIndexIterator< IndexT >::max |
Definition at line 43 of file ringbuffer.hpp.