|
swift
|
Iterator wrapper which concatenates zero or more pairs of begin and end iterators. More...
#include <iterator.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Types. | |
| using | value_type = typename std::iterator_traits<I>::value_type |
| Types. | |
| using | difference_type = typename std::iterator_traits<I>::difference_type |
| Types. | |
| using | pointer = typename std::iterator_traits<I>::pointer |
| Types. | |
| using | reference = typename std::iterator_traits<I>::reference |
| Types. | |
Public Member Functions | |
| ConcatIterator (QVector< I > iterators) | |
| Constructor. | |
| ConcatIterator (I end) | |
| Implicit conversion from an end iterator. | |
| I | operator-> () |
| Indirection operator, returns the underlying iterator. Undefined if iterator is at the end. | |
| std::iterator_traits< I >::reference | operator* () |
| Dereference operator, returns the object referenced by the iterator. Undefined if iterator is at the end. | |
| ConcatIterator & | operator++ () |
| Advance to the next element. Undefined if iterator is at the end. | |
| ConcatIterator | operator++ (int) |
| Advance to the next element. Undefined if iterator is at the end. | |
| bool | operator== (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator!= (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator< (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator<= (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator> (const ConcatIterator &other) const |
| Comparison operators. | |
| bool | operator>= (const ConcatIterator &other) const |
| Comparison operators. | |
Iterator wrapper which concatenates zero or more pairs of begin and end iterators.
Definition at line 282 of file iterator.h.
| using swift::misc::Iterators::ConcatIterator< I >::difference_type = typename std::iterator_traits<I>::difference_type |
Types.
Definition at line 289 of file iterator.h.
| using swift::misc::Iterators::ConcatIterator< I >::iterator_category = std::forward_iterator_tag |
Types.
Definition at line 287 of file iterator.h.
| using swift::misc::Iterators::ConcatIterator< I >::pointer = typename std::iterator_traits<I>::pointer |
Types.
Definition at line 290 of file iterator.h.
| using swift::misc::Iterators::ConcatIterator< I >::reference = typename std::iterator_traits<I>::reference |
Types.
Definition at line 291 of file iterator.h.
| using swift::misc::Iterators::ConcatIterator< I >::value_type = typename std::iterator_traits<I>::value_type |
Types.
Definition at line 288 of file iterator.h.
|
inline |
Constructor.
Definition at line 295 of file iterator.h.
|
inline |
Implicit conversion from an end iterator.
Definition at line 305 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 338 of file iterator.h.
|
inline |
Dereference operator, returns the object referenced by the iterator. Undefined if iterator is at the end.
Definition at line 333 of file iterator.h.
|
inline |
Advance to the next element. Undefined if iterator is at the end.
Definition at line 310 of file iterator.h.
|
inline |
Advance to the next element. Undefined if iterator is at the end.
Definition at line 319 of file iterator.h.
|
inline |
Indirection operator, returns the underlying iterator. Undefined if iterator is at the end.
Definition at line 329 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 339 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 340 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 337 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 341 of file iterator.h.
|
inline |
Comparison operators.
Definition at line 342 of file iterator.h.