In questa pagina

QRangeModelAdapter::RowIterator Struct

struct QRangeModelAdapter::RowIterator

Fornisce un iteratore non costante 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

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

Descrizione dettagliata

L'iteratore modella std::random_access_iterator. Se il modello è una lista, il dereferenziamento dell'iteratore restituisce un wrapper DataReference per l'elemento indicato nel modello.

Per le tabelle e gli alberi, il dereferenziamento dell'iteratore restituisce un RowReference per la riga a cui punta.

Documentazione delle funzioni membro

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

Crea una copia di un'istanza di ` RowIterator`.

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

Crea un'istanza di ` RowIterator` tramite il costrutto `move`.

[default] RowIterator::~RowIterator()

Elimina l'istanza di ` RowIterator`.

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

Assegna " other " a questa istanza di " RowIterator ".

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

Assegna “ other ” a questa istanza di “ RowIterator ”.

© 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.