matlab::data::RowMajorIterator<T>
Templated C++ class to provide row-major random access iterator
Since R2022a
Description
RowMajorIterator
iterates over elements in an array in row-major order. For
more information, see MATLAB Data API Random Access Iterators.
Class Details
Namespace: | matlab::data |
Include: |
|
Template Parameters
|
Type of element referred to. |
Template Instantiations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
matlab::data::Array |
matlab::data::Struct |
matlab::data::Enumeration |
Constructors
Copy Constructors
RowMajorIterator(const RowMajorIterator<T>& rhs)
Creates a copy of a RowMajorIterator
object.
| Value to copy. |
None
Copy Assignment Operators
RowMajorIterator<T>& operator=(const RowMajorIterator<T>&
rhs)
Assigns a new value to a RowMajorIterator
object.
| Value to assign. |
| Updated instance. |
None
Move Constructors
RowMajorIterator(RowMajorIterator<T> &&rhs)
Moves contents of a RowMajorIterator
object to a new instance.
| Value to move. |
None
Move Assignment Operators
RowMajorIterator<T>& operator=(RowMajorIterator<T>&& rhs)
Transfer input to this RowMajorIterator
object.
| Value to transfer. |
| Updated instance. |
None
Version History
Introduced in R2022a