matlab::data::TypedIterator<T>
Templated C++ class to provide random access iterator in memory order
Description
TypedIterator
iterates in the order elements are in computer memory,
which might be column-major or row-major. To determine the memory layout of an array,
call getMemoryLayout
. 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
TypedIterator(const TypedIterator<T>& rhs)
Creates a copy of a TypedIterator
object.
|
Value to copy. |
None
Copy Assignment Operators
TypedIterator<T>& operator=(const TypedIterator<T>&
rhs)
Assigns a new value to a TypedIterator
object.
| Value to assign. |
|
Updated instance. |
None
Move Constructors
TypedIterator(TypedIterator<T> &&rhs)
Moves contents of a TypedIterator
object to a new
instance.
|
Value to move. |
None
Move Assignment Operators
TypedIterator<T>& operator=(TypedIterator<T>&& rhs)
Transfer input to this TypedIterator
object.
| Value to transfer. |
|
Updated instance. |
None
Version History
Introduced in R2017b