Class MASIter¶
Defined in File ModelArraySlice.hpp
Class Documentation¶
-
class MASIter¶
An iterator class for ModelArraySlices. Conforms to the forward iterator specifications.
Public Functions
-
MASIter(ModelArraySlice &mas)¶
-
inline FloatType &operator*() const¶
Provides read/write access to the data at the current location of the iterator.
- Returns:
reference access to the data the iterator refers to.
-
inline bool operator!=(const MASIter &other) const¶
Checks if another iterator is no equal to this.
- Parameters:
the – second iterator to compare.
- Returns:
true when the two iterators are different.
-
inline bool operator==(const MASIter &other) const¶
Checks if another iterator is equal to this.
- Parameters:
the – second iterator to compare
- Returns:
true when the two iterators point to the same point of the same array.
-
inline FloatType *operator->() const¶
Provides member access for the data at the current location of the iterator.
- Returns:
a pointer to the current data
Public Members
- friend ModelArraySlice
-
MASIter(ModelArraySlice &mas)¶