Minimal iterator for range-based for loops: supports only *, prefix ++ and !=, and yields elements by value through operator[].
More...
#include <meshkit/detail/planmodel.hpp>
Public Member Functions | |
| T | operator* () const |
| Current element, by value. | |
| Iterator & | operator++ () |
| Advance to the next index. | |
| bool | operator!= (const Iterator &b) const |
| Compare positions only. | |
Public Attributes | |
| const ReadArray * | array |
| Array being iterated; not owned. | |
| std::size_t | i |
| Current element index. | |
Minimal iterator for range-based for loops: supports only *, prefix ++ and !=, and yields elements by value through operator[].
|
inline |
Compare positions only.
| [in] | b | Iterator to compare with. |
|
inline |
Current element, by value.
|
inline |
Advance to the next index.
| const ReadArray* meshkit::plan::ReadArray< T >::Iterator::array |
Array being iterated; not owned.
| std::size_t meshkit::plan::ReadArray< T >::Iterator::i |
Current element index.