QBaseIterator Class

template <typename Container> class QBaseIterator
头: #include <QBaseIterator>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
继承者: QConstIterator and QIterator

公共函数

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

详细描述

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

成员函数文档编制

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.