QIterable is a template class that is the base class for QSequentialIterable and QAssociativeIterable. More...
Header: | #include <QIterable> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Since: | Qt 6.0 |
Inherited By: |
bool | canForwardIterate() const |
bool | canInputIterate() const |
bool | canRandomAccessIterate() const |
bool | canReverseIterate() const |
QConstIterator<Container> | constBegin() const |
QConstIterator<Container> | constEnd() const |
QIterator<Container> | mutableBegin() |
QIterator<Container> | mutableEnd() |
qsizetype | size() const |
Returns whether it is possible to iterate over the container in forward direction. This corresponds to the std::forward_iterator_tag iterator trait of the iterator and const_iterator of the container.
Returns whether the container has an input iterator. This corresponds to the std::input_iterator_tag iterator trait of the iterator and const_iterator of the container.
Returns whether it is possible to efficiently skip over multiple values using and iterator. This corresponds to the std::random_access_iterator_tag iterator trait of the iterator and const_iterator of the container.
Returns whether it is possible to iterate over the container in reverse. This corresponds to the std::bidirectional_iterator_tag iterator trait of the const_iterator of the container.
Returns a QConstIterator for the beginning of the container. This can be used in stl-style iteration.
See also constEnd() and mutableBegin().
Returns a Qterable::QConstIterator for the end of the container. This can be used in stl-style iteration.
See also constBegin() and mutableEnd().
Returns a QIterator for the beginning of the container. This can be used in stl-style iteration.
See also mutableEnd() and constBegin().
Returns a QSequentialIterable::iterator for the end of the container. This can be used in stl-style iteration.
See also mutableBegin() and constEnd().
Returns the number of values in the container.
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: