QRangeModelAdapter::ConstRowIterator Struct
struct QRangeModelAdapter::ConstRowIteratorFournit un itérateur `const` de type STL sur les lignes d'un modèle. En savoir plus...
Cette structure est en phase de prévisualisation technologique et est susceptible d'être modifiée.
Cette structure a été introduite dans Qt 6.11.
Fonctions publiques
| 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) |
Description détaillée
L'itérateur modélise std::random_access_iterator. Si le modèle est une liste, la déréférenciation de l'itérateur renvoie l'élément pointé par celui-ci dans le modèle.
Pour les tables et les arbres, la déréférence de l'itérateur renvoie un objet ` ConstRowReference ` correspondant à la ligne pointée.
Documentation des fonctions membres
[default] ConstRowIterator::ConstRowIterator(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)
Crée une instance de ` ConstRowIterator` par copie.
[default] ConstRowIterator::ConstRowIterator(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
Crée par « move » une instance de ` ConstRowIterator`.
[default] ConstRowIterator::~ConstRowIterator()
Supprime l'instance de ` ConstRowIterator`.
[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
Cette opération attribue la other à cette instance ConstRowIterator.
[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)
Attribue par copie l'other à cette instance de 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.