iterator for a NTBlock
More...
#include <ntb_iter.h>
◆ NTBlock_iter()
| NTBlock_iter::NTBlock_iter |
( |
NTBlock< T > * |
ntb, |
|
|
int |
ix, |
|
|
int |
iy, |
|
|
int |
iz, |
|
|
int |
ig |
|
) |
| |
Construct block iterator
- Parameters
-
| ntb | the block over which to iterate |
| ix | the index in the x-dimension |
| iy | the index in the y-dimension |
| iz | the index in the z-dimension |
| ig | the index at the gridpoint |
◆ operator*()
| T & NTBlock_iter::operator* |
( |
| ) |
|
dereference operator
- Todo:
- what happens if end() is dereferenced ?
◆ operator++() [1/2]
move ops
prefix increment operator
- Warning
- not impl.
◆ operator++() [2/2]
postfix increment operator
◆ operator->()
| T * NTBlock_iter::operator-> |
( |
| ) |
|
access ops
prefix decrement operator
- Warning
- not impl.
postfix decrement operator
access operator
- Todo:
- what happens if end() is dereferenced ?
◆ operator!=
◆ operator==
◆ m_block
◆ m_ig
◆ m_ix
◆ m_iy
◆ m_iz
The documentation for this class was generated from the following files: