Main Content

matlab::data::RowMajorIterator<T>

行優先のランダム アクセス反復子を提供する、テンプレート化された C++ クラス

R2022a 以降

説明

RowMajorIterator は、行優先の順序で配列内の要素を反復します。詳細については、MATLAB データ API のランダム アクセス反復子を参照してください。

クラスの詳細

名前空間:

matlab::data

インクルード:

RowMajorIterator.hpp

テンプレート パラメーター

T

参照先の要素の型。

テンプレートのインスタンス化

double

float

int8_t

uint8_t

int16_t

uint16_t

int32_t

uint32_t

int64_t

uint64_t

char16_t

bool

std::complex<double>

std::complex<float>

std::complex<int8_t>

std::complex<uint8_t>

std::complex<int16_t>

std::complex<uint16_t>

std::complex<int32_t>

std::complex<uint32_t>

std::complex<int64_t>

std::complex<uint64_t>

matlab::data::Array
matlab::data::Struct
matlab::data::Enumeration

matlab::data::MATLABString

コンストラクター

コピー コンストラクター

RowMajorIterator(const RowMajorIterator<T>& rhs)

説明

RowMajorIterator オブジェクトのコピーを作成します。

パラメーター

const RowMajorIterator<T>& rhs

コピーする値。

スロー

なし

代入演算子のコピー

RowMajorIterator<T>& operator=(const RowMajorIterator<T>& rhs)

説明

RowMajorIterator オブジェクトに新しい値を代入します。

パラメーター

const RowMajorIterator<T>& rhs

代入する値。

戻り値

RowMajorIterator<T>&

更新されたインスタンス。

スロー

なし

移動コンストラクター

RowMajorIterator(RowMajorIterator<T> &&rhs)

説明

RowMajorIterator オブジェクトの内容を新しいインスタンスに移動させます。

パラメーター

RowMajorIterator<T>&& rhs

移動させる値。

スロー

なし

移動代入演算子

RowMajorIterator<T>& operator=(RowMajorIterator<T>&& rhs)

説明

この RowMajorIterator オブジェクトに入力を転送します。

パラメーター

RowMajorIterator<T>&& rhs

転送する値。

戻り値

RowMajorIterator<T>&

更新されたインスタンス。

スロー

なし

バージョン履歴

R2022a で導入