QBaseIterator Class

template <typename Container> class QBaseIterator
Header: #include <QBaseIterator>
CMake: find_package(Qt6 COMPONENTS Core REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Inherited By:

QConstIterator and QIterator

Public Functions

const void * constIterator() const
void * mutableIterator()

Detailed Description

QBaseIterator forms the common base class for all iterators operating on subclasses of QIterable.

Member Function Documentation

const void *QBaseIterator::constIterator() const

Returns a const pointer to the internal native iterator.

void *QBaseIterator::mutableIterator()

Returns a non-const pointer to the internal native iterator.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qbaseiterator.html