QRangeModelAdapter::ConstRowIterator Struct
struct QRangeModelAdapter::ConstRowIteratorFornisce un iteratore const in stile STL sulle righe di un modello. Maggiori informazioni...
Questa struttura è in anteprima tecnologica ed è soggetta a modifiche.
Questa struttura è stata introdotta in Qt 6.11.
Funzioni pubbliche
| 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) |
Descrizione dettagliata
L'iteratore modella std::random_access_iterator. Se il modello è una lista, il dereferenziazione dell'iteratore restituisce l'elemento indicato nel modello.
Per le tabelle e gli alberi, il dereferenziamento dell’iteratore restituisce un oggetto ` ConstRowReference ` relativo alla riga a cui punta.
Documentazione delle funzioni membro
[default] ConstRowIterator::ConstRowIterator(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)
Crea una copia di un'istanza di ` ConstRowIterator`.
[default] ConstRowIterator::ConstRowIterator(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
Crea un'istanza di ` ConstRowIterator` tramite il costrutto `move`.
[default] ConstRowIterator::~ConstRowIterator()
Elimina l'istanza di ConstRowIterator.
[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &&other)
Assegna other a questa istanza di ConstRowIterator.
[default] QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &ConstRowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::ConstRowIterator &other)
Assegna “ other ” a questa istanza di “ 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.