このページでは

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 およびQIterator

パブリック関数

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

プロテクトされた関数

詳細な説明

QBaseIterator<Container> は、QIterable のサブクラス上で動作するすべてのイテレータの共通の基底クラスを形成します。ここで、Container はメタ型記述子です。

メンバ関数のドキュメント

[protected default] QBaseIterator::QBaseIterator()

QBaseIterator のインスタンスをデフォルトコンストラクタで生成します。

const void *QBaseIterator::constIterator() const

内部のネイティブイテレータへの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.