![]() |
0.5.1
|
Const reverse iterator. More...
Public Types | |
| using | difference_type |
| Signed integer type (usually std::ptrdiff_t) | |
| using | iterator_category |
| To categorize the iteration direction. | |
| using | pointer |
| value_type* | |
| using | reference |
| value_type& | |
| using | value_type |
| T. | |
Public Member Functions | |
| ConstReverseIterator (const ScrollingBuffer &buffer, int64_t index=0) | |
| Constructor. | |
| reference | operator* () const |
| Returns a reference to the current element. | |
| const ConstReverseIterator & | operator++ () |
| Advances the iterator. | |
| ConstReverseIterator | operator++ (int) |
| Advances the iterator. | |
| pointer | operator-> () |
| Returns a pointer to the current element. | |
Private Attributes | |
| const ScrollingBuffer & | buffer |
| Reference to the buffer. | |
| int64_t | index |
| Iterator index inside the buffer (counted from the non-reversed start) | |
Friends | |
| bool | operator!= (const ConstReverseIterator &lhs, const ConstReverseIterator &rhs) |
| Inequality comparison operator. | |
| bool | operator== (const ConstReverseIterator &lhs, const ConstReverseIterator &rhs) |
| Equality comparison operator. | |
Const reverse iterator.
Definition at line 346 of file ScrollingBuffer.hpp.
| using NAV::ScrollingBuffer< T, _Padding >::ConstReverseIterator::difference_type |
Signed integer type (usually std::ptrdiff_t)
Definition at line 350 of file ScrollingBuffer.hpp.
| using NAV::ScrollingBuffer< T, _Padding >::ConstReverseIterator::iterator_category |
To categorize the iteration direction.
Definition at line 349 of file ScrollingBuffer.hpp.
| using NAV::ScrollingBuffer< T, _Padding >::ConstReverseIterator::pointer |
value_type*
Definition at line 352 of file ScrollingBuffer.hpp.
| using NAV::ScrollingBuffer< T, _Padding >::ConstReverseIterator::reference |
Definition at line 353 of file ScrollingBuffer.hpp.
| using NAV::ScrollingBuffer< T, _Padding >::ConstReverseIterator::value_type |
T.
Definition at line 351 of file ScrollingBuffer.hpp.
|
inlineexplicit |
Constructor.
| [in] | buffer | Immutable reference to the buffer of the iterator |
| [in] | index | Iterator index inside the buffer (counted from the non-reversed start) |
Definition at line 358 of file ScrollingBuffer.hpp.
|
inline |
Returns a reference to the current element.
Definition at line 362 of file ScrollingBuffer.hpp.
|
inline |
Advances the iterator.
Definition at line 367 of file ScrollingBuffer.hpp.
|
inline |
Advances the iterator.
Definition at line 374 of file ScrollingBuffer.hpp.
|
inline |
Returns a pointer to the current element.
Definition at line 364 of file ScrollingBuffer.hpp.
|
friend |
Inequality comparison operator.
| [in] | lhs | Left-hand side |
| [in] | rhs | Right-hand side |
Definition at line 390 of file ScrollingBuffer.hpp.
|
friend |
Equality comparison operator.
| [in] | lhs | Left-hand side |
| [in] | rhs | Right-hand side |
Definition at line 385 of file ScrollingBuffer.hpp.
|
private |
Reference to the buffer.
Definition at line 393 of file ScrollingBuffer.hpp.
|
private |
Iterator index inside the buffer (counted from the non-reversed start)
Definition at line 394 of file ScrollingBuffer.hpp.