QMetaSequence::Iterable::Iterator Class
class QMetaSequence::Iterable::IteratorQMetaSequence::Iterable::Iterator permet l'itération sur un conteneur dans un QVariant. Plus...
Cette classe a été introduite dans Qt 6.11.
Fonctions publiques
| int | operator*() const |
| int | operator->() const |
| int | operator[](qsizetype n) const |
Description détaillée
Un QMetaSequence::Iterable::Iterator ne peut être créé que par une instance de QMetaSequence::Iterable, et peut être utilisé d'une manière similaire à d'autres itérateurs de style stl.
Documentation des fonctions membres
int Iterator::operator*() const
Renvoie l'élément actuel, converti en QVariant::Reference.
int Iterator::operator->() const
Renvoie l'élément actuel, converti en QVariant::Pointer.
int Iterator::operator[](qsizetype n) const
Renvoie l'élément décalé par rapport à l'élément actuel par n, converti en 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.