In questa pagina

QMetaSequence::Iterable::Iterator Class

class QMetaSequence::Iterable::Iterator

QMetaSequence::Iterable::Iterator consente di iterare su un contenitore in un ciclo " QVariant". Per saperne di più...

Questa classe è stata introdotta in Qt 6.11.

Funzioni pubbliche

int operator*() const
int operator->() const
int operator[](qsizetype n) const

Descrizione dettagliata

Un ` QMetaSequence::Iterable::Iterator ` può essere creato solo da un'istanza di ` QMetaSequence::Iterable ` e può essere utilizzato in modo simile agli altri iteratori in stile STL.

Documentazione delle funzioni membro

int Iterator::operator*() const

Restituisce l'elemento corrente, convertito in un oggetto ` QVariant::Reference`.

int Iterator::operator->() const

Restituisce l'elemento corrente, convertito in un oggetto ` QVariant::Pointer`.

int Iterator::operator[](qsizetype n) const

Restituisce l'offset dell'elemento rispetto a quello corrente, espresso in " n", convertito in " 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.