![]() |
deal.II version GIT relicensing-3089-g5a471bd8cb 2025-04-21 08:20:00+00:00
|
#include <deal.II/hp/collection.h>
Public Member Functions | |
CollectionIterator (const std::vector< std::shared_ptr< const T > > &data, const std::size_t index) | |
CollectionIterator (const CollectionIterator< T > &other)=default | |
CollectionIterator< T > & | operator= (const CollectionIterator< T > &other)=default |
bool | operator== (const CollectionIterator< T > &other) const |
bool | operator!= (const CollectionIterator< T > &other) const |
bool | operator< (const CollectionIterator< T > &other) const |
bool | operator<= (const CollectionIterator< T > &other) const |
bool | operator> (const CollectionIterator< T > &other) const |
bool | operator>= (const CollectionIterator< T > &other) const |
const T & | operator* () const |
CollectionIterator< T > & | operator++ () |
CollectionIterator< T > & | operator+= (const std::size_t offset) |
CollectionIterator< T > & | operator-- () |
CollectionIterator< T > | operator+ (const std::size_t &offset) const |
std::ptrdiff_t | operator- (const CollectionIterator< T > &other) const |
Private Attributes | |
const std::vector< std::shared_ptr< const T > > * | data |
std::size_t | index |
An iterator for hp::Collection.
Definition at line 46 of file collection.h.
|
inline |
Constructor.
data | The actual data of hp::Collection. |
index | The current index. |
Definition at line 55 of file collection.h.
|
default |
Copy constructor.
|
default |
Copy assignment.
|
inline |
Compare for equality.
Definition at line 76 of file collection.h.
|
inline |
Compare for inequality.
Definition at line 86 of file collection.h.
|
inline |
Compare indices.
Definition at line 95 of file collection.h.
|
inline |
Compare indices.
Definition at line 105 of file collection.h.
|
inline |
Compare indices.
Definition at line 116 of file collection.h.
|
inline |
Compare indices.
Definition at line 126 of file collection.h.
|
inline |
Dereferencing operator: returns the value of the current index.
Definition at line 136 of file collection.h.
|
inline |
Prefix ++
operator: ++iterator
. This operator advances the iterator to the next index and returns a reference to *this
.
Definition at line 148 of file collection.h.
|
inline |
This operator advances the iterator by offset
and returns a reference to *this
.
Definition at line 160 of file collection.h.
|
inline |
Prefix –
operator: –iterator
. This operator advances the iterator to the previous index and returns a reference to *this
.
Definition at line 173 of file collection.h.
|
inline |
Create new iterator, which is shifted by offset
.
Definition at line 187 of file collection.h.
|
inline |
Compute distance between this iterator and iterator other
.
Definition at line 197 of file collection.h.
|
private |
Pointer to the actual data of hp::Collection.
Definition at line 207 of file collection.h.
|
private |
Current index.
Definition at line 212 of file collection.h.