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 |
| 由以下函数继承: |
公共函数
| const void * | constIterator() const |
| void * | mutableIterator() |
受保护函数
详细说明
QBaseIterator<Container> 是所有操作QIterable 子类的迭代器的通用基类,其中Container 是元类型描述符。
成员函数文档
[protected default] QBaseIterator::QBaseIterator()
默认——构造一个QBaseIterator 的实例。
const void *QBaseIterator::constIterator() const
返回指向内部本机迭代器的常量指针。
void *QBaseIterator::mutableIterator()
返回指向内部本机迭代器的非const指针。
© 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.