|
CoreComponents 3.0.0
A Modern C++ Toolkit
|
Value iterator type for the AppendList. More...
#include <cc/AppendList>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = T |
| using | difference_type = unsigned |
| using | pointer = T * |
| using | reference = T & |
| using | Node = AppendListNode<T> |
Public Member Functions | |
| AppendListIterator () | |
| Create a null iterator. | |
| operator bool () const | |
| Check if this is a null iterator (explicitly cast to bool) | |
| const T & | operator* () const |
| Get readonly access to current item value. | |
| T & | operator* () |
| Get access to current item value. | |
| const T * | operator-> () const |
| Readonly member access to current item value. | |
| T * | operator-> () |
| Member access to current item value. | |
| AppendListIterator & | operator++ () |
| Step to the next item (prefix increment operator) | |
| AppendListIterator | operator++ (int) |
| Step to the next item and return the old iterator value (postfix increment operator) | |
| AppendListIterator | operator+ (unsigned delta) const |
| Get iterator value stepped delta items forward (addition operator) | |
| bool | operator== (const AppendListIterator &other) const |
| Equal to operator. | |
| bool | operator!= (const AppendListIterator &other) const |
| Not equal to operator. | |
Value iterator type for the AppendList.
| AppendListIterator | ( | ) |
Create a null iterator.
|
explicit |
Check if this is a null iterator (explicitly cast to bool)
| const T & operator* | ( | ) | const |
Get readonly access to current item value.
| T & operator* | ( | ) |
Get access to current item value.
| const T * operator-> | ( | ) | const |
Readonly member access to current item value.
| T * operator-> | ( | ) |
Member access to current item value.
| AppendListIterator & operator++ | ( | ) |
Step to the next item (prefix increment operator)
| AppendListIterator operator++ | ( | int | ) |
Step to the next item and return the old iterator value (postfix increment operator)
| AppendListIterator operator+ | ( | unsigned | delta | ) | const |
Get iterator value stepped delta items forward (addition operator)
| bool operator== | ( | const AppendListIterator< T > & | other | ) | const |
Equal to operator.
| bool operator!= | ( | const AppendListIterator< T > & | other | ) | const |
Not equal to operator.