#include <source/patchdata/edge/EdgeIterator.h>
Public Member Functions | |
| EdgeIterator () | |
| EdgeIterator (const hier::Box< DIM > &box, const int axis) | |
| EdgeIterator (const EdgeIterator< DIM > &iterator) | |
| EdgeIterator< DIM > & | operator= (const EdgeIterator< DIM > &iterator) |
| ~EdgeIterator () | |
| const EdgeIndex< DIM > & | operator * () const |
| const EdgeIndex< DIM > & | operator() () const |
| operator bool () const | |
| operator const void * () const | |
| bool | operator! () const |
| void | operator++ (int) |
| bool | operator== (const EdgeIterator< DIM > &iterator) const |
| bool | operator!= (const EdgeIterator< DIM > &iterator) const |
hier::Box<DIM> box;
...
for (EdgeIterator<DIM> c(box, axis); c; c++) {
// use index c of the box
}
| SAMRAI::pdat::EdgeIterator< DIM >::EdgeIterator | ( | ) | [inline] |
Default constructor for the edge iterator. The iterator must be initialized before it can be used to iterate over a box.
| SAMRAI::pdat::EdgeIterator< DIM >::EdgeIterator | ( | const hier::Box< DIM > & | box, | |
| const int | axis | |||
| ) | [inline] |
Constructor for the edge iterator. The iterator will enumerate the indices in the argument box.
| SAMRAI::pdat::EdgeIterator< DIM >::EdgeIterator | ( | const EdgeIterator< DIM > & | iterator | ) | [inline] |
Copy constructor for the edge iterator
| SAMRAI::pdat::EdgeIterator< DIM >::~EdgeIterator | ( | ) | [inline] |
Destructor for the edge iterator.
| EdgeIterator< DIM > & SAMRAI::pdat::EdgeIterator< DIM >::operator= | ( | const EdgeIterator< DIM > & | iterator | ) | [inline] |
Assignment operator for the edge iterator.
| const EdgeIndex< DIM > & SAMRAI::pdat::EdgeIterator< DIM >::operator * | ( | ) | const [inline] |
Extract the edge index corresponding to the iterator position in the box.
| const EdgeIndex< DIM > & SAMRAI::pdat::EdgeIterator< DIM >::operator() | ( | ) | const [inline] |
Extract the edge index corresponding to the iterator position in the box.
| SAMRAI::pdat::EdgeIterator< DIM >::operator bool | ( | ) | const [inline] |
Return true if the iterator points to a valid index within the box.
| SAMRAI::pdat::EdgeIterator< DIM >::operator const void * | ( | ) | const [inline] |
Return a non-NULL if the iterator points to a valid index within the box.
| bool SAMRAI::pdat::EdgeIterator< DIM >::operator! | ( | ) | const [inline] |
Return whether the iterator points to a valid index within the box. This operator mimics the !p operation applied to a pointer p.
| void SAMRAI::pdat::EdgeIterator< DIM >::operator++ | ( | int | ) | [inline] |
Increment the iterator to point to the next index in the box.
| bool SAMRAI::pdat::EdgeIterator< DIM >::operator== | ( | const EdgeIterator< DIM > & | iterator | ) | const [inline] |
Test two iterators for equality (same index value).
| bool SAMRAI::pdat::EdgeIterator< DIM >::operator!= | ( | const EdgeIterator< DIM > & | iterator | ) | const [inline] |
Test two iterators for inequality (different index values).
1.5.1