QMetaSequence::Iterable::Iterator Class
class QMetaSequence::Iterable::IteratorQMetaSequence::Iterable::Iterator permite recorrer un contenedor en un ` QVariant`. Más...
Esta clase se introdujo en Qt 6.11.
Funciones públicas
| int | operator*() const |
| int | operator->() const |
| int | operator[](qsizetype n) const |
Descripción detallada
Un ` QMetaSequence::Iterable::Iterator ` solo puede crearse mediante una instancia de ` QMetaSequence::Iterable ` y puede utilizarse de forma similar a otros iteradores de estilo STL.
Documentación de las funciones miembro
int Iterator::operator*() const
Devuelve el elemento actual, convertido a un objeto ` QVariant::Reference`.
int Iterator::operator->() const
Devuelve el elemento actual, convertido en un objeto ` QVariant::Pointer`.
int Iterator::operator[](qsizetype n) const
Devuelve el elemento situado a una distancia de n respecto al actual, convertido a un 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.