#include <source/hierarchy/patches/PatchLevel.h>
Public Member Functions | |
PatchLevelIterator () | |
PatchLevelIterator (const PatchLevel< DIM > &pl) | |
PatchLevelIterator (const PatchLevel< DIM > *pl) | |
PatchLevelIterator (const PatchLevelIterator< DIM > &iterator) | |
void | initialize (const PatchLevel< DIM > &pl) |
void | initialize (const PatchLevel< DIM > *pl) |
PatchLevelIterator< DIM > & | operator= (const PatchLevelIterator< DIM > &iterator) |
~PatchLevelIterator () | |
int | operator * () const |
int | operator() () const |
operator bool () const | |
operator const void * () const | |
bool | operator! () const |
void | operator++ (int) |
bool | operator== (const PatchLevelIterator< DIM > &iterator) const |
bool | operator!= (const PatchLevelIterator< DIM > &iterator) const |
|
Default constructor for the patch iterator. This iterator must be initialized before it can be used to iterate over the patches.
|
|
Constructor for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor. |
|
Constructor for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor. |
|
Const copy constructor for the iterator. |
|
Destructor for the patch level iterator. |
|
Initializer for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor. |
|
Initializer for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor. |
|
Assignment operator for the iterator. |
|
Extract the integer patch index corresponding to the current patch in the patch level. |
|
Extract the integer patch index corresponding to the current patch in the patch level. |
|
Return true if the iterator points to a valid patch on the level. |
|
Return non-NULL if the iterator points to a valid patch on the level. |
|
Return whether the iterator points to a valid patch in the level. This operator mimics the !p operation applied to a pointer p. |
|
Increment the iterator to point to the next patch in the level. |
|
Test whether two patch level iterators point to the same patch index. |
|
Test whether two patch level iterators point to different patch indices. |