이 페이지에서

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()

내부 네이티브 반복자에 대한 비상수 포인터를 반환합니다.

© 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.