QMetaSequence::Iterable::Iterator Class
class QMetaSequence::Iterable::IteratorQMetaSequence::Iterable::Iterator は、QVariant のコンテナに対する反復処理を可能にします。
このクラスは Qt 6.11 で導入されました。
パブリック関数
| int | operator*() const |
| int | operator->() const |
| int | operator[](qsizetype n) const |
詳細説明
QMetaSequence::Iterable::Iterator はQMetaSequence::Iterable インスタンスによってのみ作成することができ、他の stl スタイルのイテレータと同様の方法で使用することができます。
メンバ関数のドキュメント
int Iterator::operator*() const
現在の項目をQVariant::Reference に変換して返します。
int Iterator::operator->() const
現在の項目をQVariant::Pointer に変換して返します。
int Iterator::operator[](qsizetype n) const
現在の項目からn だけオフセットされた項目を、QVariant::Reference に変換して返します。
© 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.