Embedded Template Library 1.0
|
Iterator iterating through the circular buffer. More...
#include <circular_buffer.h>
Public Member Functions | |
const_iterator () | |
Constructor. | |
const_iterator (const typename icircular_buffer::iterator &other) | |
Copy Constructor from iterator. | |
const_iterator (const const_iterator &other) | |
Copy Constructor from const iterator. | |
const_iterator & | operator= (const typename icircular_buffer::iterator &other) |
Assignment operator. | |
const_iterator & | operator= (const const_iterator &other) |
Assignment operator. | |
const_reference | operator* () const |
const_pointer | operator-> () const |
-> operator | |
const_iterator & | operator++ () |
Pre-increment. | |
const_iterator | operator++ (int) |
Post increment. | |
const_iterator & | operator-- () |
Pre-decrement. | |
const_iterator | operator-- (int) |
Post increment. | |
const_iterator & | operator+= (int n) |
Add offset. | |
const_iterator & | operator-= (int n) |
Subtract offset. | |
difference_type | get_index () const |
const icircular_buffer & | container () const |
pointer | get_buffer () const |
Protected Member Functions | |
const_iterator (const icircular_buffer< T > *picb_, size_type current_) | |
Protected constructor. Only icircular_buffer can create one. | |
Friends | |
class | icircular_buffer |
const_iterator | operator+ (const const_iterator &lhs, int n) |
Add offset. | |
const_iterator | operator- (const const_iterator &lhs, int n) |
Subtract offset. | |
bool | operator== (const const_iterator &lhs, const const_iterator &rhs) |
Equality operator. | |
bool | operator!= (const const_iterator &lhs, const const_iterator &rhs) |
Inequality operator. | |
bool | operator< (const const_iterator &lhs, const const_iterator &rhs) |
bool | operator<= (const const_iterator &lhs, const const_iterator &rhs) |
bool | operator> (const const_iterator &lhs, const const_iterator &rhs) |
bool | operator>= (const const_iterator &lhs, const const_iterator &rhs) |
Additional Inherited Members | |
![]() | |
typedef const T | value_type |
typedef ptrdiff_t | difference_type |
typedef const T * | pointer |
typedef const T & | reference |
typedef ETL_OR_STD::random_access_iterator_tag | iterator_category |
Iterator iterating through the circular buffer.
|
inline |