Reference documentation for deal.II version 9.0.0
|
#include <deal.II/base/index_set.h>
Public Types | |
typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
IntervalIterator (const IndexSet *idxset, const size_type range_idx) | |
IntervalIterator (const IndexSet *idxset) | |
IntervalIterator () | |
IntervalIterator (const IntervalIterator &other) | |
IntervalIterator & | operator= (const IntervalIterator &other) |
IntervalIterator & | operator++ () |
IntervalIterator | operator++ (int) |
const IntervalAccessor & | operator* () const |
const IntervalAccessor * | operator-> () const |
bool | operator== (const IntervalIterator &) const |
bool | operator!= (const IntervalIterator &) const |
bool | operator< (const IntervalIterator &) const |
int | operator- (const IntervalIterator &p) const |
Private Attributes | |
IntervalAccessor | accessor |
Class that represents an iterator pointing to a contiguous interval \([a,b[\) as returned by IndexSet::begin_interval().
Definition at line 529 of file index_set.h.
typedef std::forward_iterator_tag IndexSet::IntervalIterator::iterator_category |
Mark the class as forward iterator and declare some typedefs which are standard for iterators and are used by algorithms to enquire about the specifics of the iterators they work on.
Definition at line 606 of file index_set.h.
|
inline |
Construct a valid iterator pointing to the interval with index range_idx
.
Definition at line 1064 of file index_set.h.
|
inlineexplicit |
Construct an invalid iterator (used as end()).
Definition at line 1081 of file index_set.h.
|
inline |
Construct an empty iterator.
Definition at line 1073 of file index_set.h.
|
inline |
Copy constructor from other
iterator.
Definition at line 1089 of file index_set.h.
|
inline |
Assignment of another iterator.
Definition at line 1098 of file index_set.h.
|
inline |
Prefix increment.
Definition at line 1108 of file index_set.h.
|
inline |
Postfix increment.
Definition at line 1118 of file index_set.h.
|
inline |
Dereferencing operator, returns an IntervalAccessor.
Definition at line 1129 of file index_set.h.
|
inline |
Dereferencing operator, returns a pointer to an IntervalAccessor.
Definition at line 1138 of file index_set.h.
|
inline |
Comparison.
Definition at line 1147 of file index_set.h.
|
inline |
Inverse of ==
.
Definition at line 1156 of file index_set.h.
|
inline |
Comparison operator.
Definition at line 1165 of file index_set.h.
|
inline |
Return the distance between the current iterator and the argument. The distance is given by how many times one has to apply operator++ to the current iterator to get the argument (for a positive return value), or operator-- (for a negative return value).
Definition at line 1174 of file index_set.h.
|
private |
Accessor that contains what IndexSet and interval we are pointing at.
Definition at line 616 of file index_set.h.