QProtobufRepeatedIterator Class

반복되는 프로토비프 유형에 대한 반복을 허용합니다. 더 보기...

Header: #include <QProtobufRepeatedIterator>
CMake: find_package(Qt6 REQUIRED COMPONENTS Protobuf)
target_link_libraries(mytarget PRIVATE Qt6::Protobuf)
이후 Qt 6.8

공용 함수

QProtobufRepeatedIterator(QProtobufRepeatedIterator &&other)
~QProtobufRepeatedIterator()
QProtobufMessage *addNext()
bool hasNext() const
bool isValid() const
QProtobufMessage *next()
void push()
QProtobufRepeatedIterator &operator=(QProtobufRepeatedIterator &&other)

자세한 설명

반복되는 프로토뷰 타입을 반복하고 QProtobufMessage 를 참조하여 반복되는 필드 엘리먼트에 접근할 수 있도록 합니다.

멤버 함수 문서

[noexcept] QProtobufRepeatedIterator::QProtobufRepeatedIterator(QProtobufRepeatedIterator &&other)

이동 - other 에서 새 QProtobufRepeatedIterator를 생성합니다.

[noexcept] QProtobufRepeatedIterator::~QProtobufRepeatedIterator()

이터레이터를 파괴합니다.

QProtobufMessage *QProtobufRepeatedIterator::addNext()

반복되는 필드에 새 임시 요소를 반환합니다.

[noexcept] bool QProtobufRepeatedIterator::hasNext() const

반복자가 반복된 필드에서 다음 요소를 읽을 수 있으면 true 을 반환합니다.

[noexcept] bool QProtobufRepeatedIterator::isValid() const

이터레이터가 유효한 데이터 객체를 가리키면 true 을 반환합니다.

QProtobufMessage *QProtobufRepeatedIterator::next()

반복되는 필드에서 아래의 다음 요소를 반환합니다.

void QProtobufRepeatedIterator::push()

addNext 함수에 의해 생성된 요소를 반복 필드에 추가합니다.

[noexcept] QProtobufRepeatedIterator &QProtobufRepeatedIterator::operator=(QProtobufRepeatedIterator &&other)

이동 - other 을 이 QProtobufRepeatedIterator 에 할당하고 업데이트된 객체에 대한 참조를 반환합니다.

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