![]() |
deal.II version 9.7.0
|
#include <deal.II/base/iterator_range.h>
A class that implements the semantics of iterators over iterators as discussed in the design sections of the IteratorRange class.
Definition at line 199 of file iterator_range.h.
Public Types | |
| using | BaseIterator = Iterator |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = Iterator |
| using | difference_type = typename Iterator::difference_type |
| using | pointer = Iterator * |
| using | reference = Iterator & |
Public Member Functions | |
| IteratorOverIterators (const BaseIterator &iterator) | |
| const BaseIterator & | operator* () const |
| const BaseIterator * | operator-> () const |
| IteratorOverIterators & | operator++ () |
| IteratorOverIterators | operator++ (int) |
| bool | operator!= (const IteratorOverIterators &i_o_i) const |
| operator const BaseIterator & () const | |
Private Attributes | |
| BaseIterator | element_of_iterator_collection |
| using IteratorOverIterators< Iterator >::BaseIterator = Iterator |
Typedef the elements of the collection to give them a name that is more distinct.
Definition at line 206 of file iterator_range.h.
| using IteratorOverIterators< Iterator >::iterator_category = std::forward_iterator_tag |
Mark the class as forward iterator and declare some alias which are standard for iterators and are used by algorithms to enquire about the specifics of the iterators they work on.
Definition at line 274 of file iterator_range.h.
| using IteratorOverIterators< Iterator >::value_type = Iterator |
Definition at line 275 of file iterator_range.h.
| using IteratorOverIterators< Iterator >::difference_type = typename Iterator::difference_type |
Definition at line 276 of file iterator_range.h.
| using IteratorOverIterators< Iterator >::pointer = Iterator * |
Definition at line 277 of file iterator_range.h.
| using IteratorOverIterators< Iterator >::reference = Iterator & |
Definition at line 278 of file iterator_range.h.
|
inlineexplicit |
Constructor. Initialize this iterator-over-iterator in such a way that it points to the given argument.
| iterator | An iterator to which this object is supposed to point. |
Definition at line 307 of file iterator_range.h.
|
inline |
Dereferencing operator.
Definition at line 316 of file iterator_range.h.
|
inline |
Dereferencing operator.
Definition at line 325 of file iterator_range.h.
|
inline |
Prefix increment operator. Move the current iterator to the next element of the collection and return the new value.
Definition at line 334 of file iterator_range.h.
|
inline |
Postfix increment operator. Move the current iterator to the next element of the collection, but return the previous value of the iterator.
Definition at line 344 of file iterator_range.h.
|
inline |
Comparison operator
| i_o_i | Another iterator over iterators. |
Definition at line 355 of file iterator_range.h.
|
inline |
Implicit conversion operator.
Definition at line 364 of file iterator_range.h.
|
private |
The object this iterator currently points to.
Definition at line 284 of file iterator_range.h.