このページでは

QRangeModelAdapter::ConstRowIterator Struct

struct QRangeModelAdapter::ConstRowIterator

モデルの行に対して、STL スタイルの const イテレータを提供します。詳細...

この構造体はテクノロジープレビュー段階にあり、変更される可能性があります。

この構造体は Qt 6.11 で導入されました。

パブリック関数

ConstRowIterator(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)
ConstRowIterator(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
~ConstRowIterator()
QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)

詳細な説明

このイテレータは、std::random_access_iterator をモデルとしています。モデルがリストの場合、イテレータの参照を解除すると、モデル内のそのイテレータが指す項目が返されます。

テーブルやツリーの場合、イテレータの参照を解除すると、その指し示す行の `ConstRowReference ` が返されます。

メンバ関数のドキュメント

[default] ConstRowIterator::ConstRowIterator(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)

ConstRowIterator のインスタンスをコピーして生成します。

[default] ConstRowIterator::ConstRowIterator(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)

ConstRowIterator のインスタンスをMoveコンストラクタで生成します。

[default] ConstRowIterator::~ConstRowIterator()

ConstRowIterator のインスタンスを破棄します。

[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)

other をこのConstRowIterator インスタンスに割り当てます。

[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)

other をこのConstRowIterator インスタンスにコピーして割り当てます。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.