QRangeModelAdapter::RowIterator Struct
struct QRangeModelAdapter::RowIteratorProporciona un iterador no constante, al estilo STL, sobre las filas de un modelo. Más información...
Esta estructura se encuentra en fase de vista previa tecnológica y está sujeta a cambios.
Esta estructura se introdujo en Qt 6.11.
Funciones públicas
| 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) |
Descripción detallada
El iterador modela std::random_access_iterator. Si el modelo es una lista, al desreferenciar el iterador se devuelve un envoltorio DataReference para el elemento al que apunta el modelo.
En el caso de las tablas y los árboles, al desreferenciar el iterador se devuelve un objeto ` RowReference ` correspondiente a la fila a la que apunta.
Documentación de las funciones miembro
[default] RowIterator::RowIterator(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Crea una instancia de « RowIterator » mediante copia.
[default] RowIterator::RowIterator(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Crea mediante «move» una instancia de ` RowIterator`.
[default] RowIterator::~RowIterator()
Elimina la instancia de RowIterator.
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(QRangeModelAdapter<Range, Protocol, Model>::RowIterator &&other)
Asigna « other » a esta instancia de « RowIterator ». .
[default] QRangeModelAdapter<Range, Protocol, Model>::RowIterator &RowIterator::operator=(const QRangeModelAdapter<Range, Protocol, Model>::RowIterator &other)
Asigna mediante copia other a esta instancia de 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.