Allows iterating over repeated protobuf types. More...
| Header: | #include <QProtobufRepeatedIterator> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Protobuf)target_link_libraries(mytarget PRIVATE Qt6::Protobuf) |
| Since: | Qt 6.8 |
| QProtobufRepeatedIterator(QProtobufRepeatedIterator &&other) | |
| ~QProtobufRepeatedIterator() | |
| QProtobufMessage * | addNext() |
| bool | hasNext() const |
| bool | isValid() const |
| QProtobufMessage * | next() |
| void | push() |
| QProtobufRepeatedIterator & | operator=(QProtobufRepeatedIterator &&other) |
Allows iterating over repeated protobuf types and access the repeated field elements as reference to QProtobufMessage.
[noexcept] QProtobufRepeatedIterator::QProtobufRepeatedIterator(QProtobufRepeatedIterator &&other)Move-constructs a new QProtobufRepeatedIterator from other.
[noexcept] QProtobufRepeatedIterator::~QProtobufRepeatedIterator()Destroys iterator.
Returns a new temporary element in the repeated field.
[noexcept] bool QProtobufRepeatedIterator::hasNext() constReturns true if the iterator can read the next element from the repeated field.
[noexcept] bool QProtobufRepeatedIterator::isValid() constReturns true if the iterator points to a valid data object.
Returns the next element under from the repeated field.
Adds the element, created by addNext function, to the repeated field.
[noexcept] QProtobufRepeatedIterator &QProtobufRepeatedIterator::operator=(QProtobufRepeatedIterator &&other)Move-assigns other to this QProtobufRepeatedIterator and returns a reference to the updated object.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: