![]() |
PIDUINO
|
RingBuffer iterator class template. More...
#include <ringbuffer.h>
Public Types | |
typedef E | elem_type |
typedef EN | elem_type_nc |
typedef iterator_< elem_type, elem_type_nc > | self_type |
typedef RingBuffer< T, A > | RingBufferType |
Public Member Functions | |
iterator_ (RingBufferType *const buf, size_type const pos) | |
iterator_ (RingBufferType const *const buf, size_type const pos) | |
iterator_ (iterator_< elem_type_nc, elem_type_nc > const &other) | |
self_type & | operator= (self_type const &other) |
elem_type & | operator* () |
elem_type * | operator-> () |
self_type & | operator++ () |
self_type | operator++ (int) |
self_type & | operator-- () |
self_type | operator-- (int) |
self_type | operator+ (difference_type const n) const |
self_type & | operator+= (difference_type const n) |
self_type | operator- (difference_type const n) const |
self_type & | operator-= (difference_type const n) |
difference_type | operator- (self_type const &c) const |
bool | operator== (self_type const &other) const |
bool | operator!= (self_type const &other) const |
bool | operator> (self_type const &other) const |
bool | operator>= (self_type const &other) const |
bool | operator< (self_type const &other) const |
bool | operator<= (self_type const &other) const |
Private Attributes | |
RingBufferType * | m_buf |
size_type | m_pos |
RingBuffer iterator class template.
Definition at line 192 of file ringbuffer.h.
typedef E Piduino::RingBuffer< T, A >::iterator_< E, EN >::elem_type |
Definition at line 195 of file ringbuffer.h.
typedef EN Piduino::RingBuffer< T, A >::iterator_< E, EN >::elem_type_nc |
Definition at line 198 of file ringbuffer.h.
typedef RingBuffer<T, A> Piduino::RingBuffer< T, A >::iterator_< E, EN >::RingBufferType |
Definition at line 203 of file ringbuffer.h.
typedef iterator_<elem_type, elem_type_nc> Piduino::RingBuffer< T, A >::iterator_< E, EN >::self_type |
Definition at line 200 of file ringbuffer.h.
|
inline |
Definition at line 209 of file ringbuffer.h.
|
inline |
Definition at line 214 of file ringbuffer.h.
|
inline |
Definition at line 225 of file ringbuffer.h.
|
inline |
Definition at line 304 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_buf, and Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 240 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_buf, and Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
Referenced by Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator->().
|
inline |
Definition at line 274 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 252 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 257 of file ringbuffer.h.
|
inline |
Definition at line 280 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 285 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 296 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 263 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 268 of file ringbuffer.h.
|
inline |
Definition at line 291 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 244 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator*().
|
inline |
Definition at line 316 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 320 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 230 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_buf, and Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 300 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_buf, and Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 308 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
inline |
Definition at line 312 of file ringbuffer.h.
References Piduino::RingBuffer< T, A >::iterator_< E, EN >::m_pos.
|
private |
Definition at line 342 of file ringbuffer.h.
Referenced by Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator!=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator*(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator=(), and Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator==().
|
private |
Definition at line 343 of file ringbuffer.h.
Referenced by Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator!=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator*(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator+(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator++(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator+=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator-(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator-(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator--(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator-=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator<(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator<=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator=(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator==(), Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator>(), and Piduino::RingBuffer< T, A >::iterator_< E, EN >::operator>=().