NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
The CircularBufferIterator class holds all iterator related typedefs and overloaded operators. The template takes as argument the const-ness (true/false) to avoid having many different types of iterators with the same functionality. More...
#include <CircularBuffer.hpp>
Public Types | |
using | type = CircularBufferIterator< cbT, isConst > |
using | value_type = typename cbT::value_type |
using | difference_type = std::ptrdiff_t |
using | pointer = typename std::conditional_t< isConst, const value_type, value_type > * |
using | reference = typename std::conditional_t< isConst, const value_type, value_type > & |
using | iterator_category = std::random_access_iterator_tag |
Public Member Functions | |
CircularBufferIterator ()=default | |
reference | operator* () const noexcept |
CircularBufferIterator & | operator++ () noexcept |
CircularBufferIterator & | operator-- () noexcept |
template<bool C> | |
bool | operator== (const CircularBufferIterator< cbT, C > &rhs) const noexcept |
template<bool C> | |
bool | operator!= (const CircularBufferIterator< cbT, C > &rhs) const noexcept |
Friends | |
CircularBufferIterator | operator- (CircularBufferIterator it, int i) noexcept |
CircularBufferIterator & | operator-= (CircularBufferIterator &it, int i) noexcept |
The CircularBufferIterator class holds all iterator related typedefs and overloaded operators. The template takes as argument the const-ness (true/false) to avoid having many different types of iterators with the same functionality.
cbT | type of circular buffer |
isConst | is/is-not const |
using NES::detail::CircularBufferIterator< cbT, isConst >::difference_type = std::ptrdiff_t |
using NES::detail::CircularBufferIterator< cbT, isConst >::iterator_category = std::random_access_iterator_tag |
using NES::detail::CircularBufferIterator< cbT, isConst >::pointer = typename std::conditional_t<isConst, const value_type, value_type>* |
using NES::detail::CircularBufferIterator< cbT, isConst >::reference = typename std::conditional_t<isConst, const value_type, value_type>& |
using NES::detail::CircularBufferIterator< cbT, isConst >::type = CircularBufferIterator<cbT, isConst> |
using NES::detail::CircularBufferIterator< cbT, isConst >::value_type = typename cbT::value_type |
|
default |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
friend |
|
friend |