![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtCore QBaseIterator<Container> forms the common base class for all iterators operating on subclasses of QIterable, where Container is the meta-type descriptor. More...
#include <qiterable.h>
Public Member Functions | |
| void * | mutableIterator () |
| Returns a non-const pointer to the internal native iterator. | |
| const void * | constIterator () const |
| Returns a const pointer to the internal native iterator. | |
| Container | metaContainer () const |
Protected Member Functions | |
| QBaseIterator ()=default | |
| QBaseIterator (const QIterable< Container > *iterable, void *iterator) | |
| QBaseIterator (QIterable< Container > *iterable, void *iterator) | |
| QBaseIterator (QBaseIterator &&other) | |
| QBaseIterator (const QBaseIterator &other) | |
| ~QBaseIterator () | |
| QBaseIterator & | operator= (QBaseIterator &&other) |
| QBaseIterator & | operator= (const QBaseIterator &other) |
| QIterable< Container > * | mutableIterable () const |
| const QIterable< Container > * | constIterable () const |
| void | initIterator (const void *copy) |
| void | clearIterator () |
\inmodule QtCore QBaseIterator<Container> forms the common base class for all iterators operating on subclasses of QIterable, where Container is the meta-type descriptor.
Definition at line 135 of file qiterable.h.
|
protecteddefault |
|
inlineprotected |
Creates a const QBaseIterator from an iterable and an iterator.
Definition at line 143 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Creates a non-const QBaseIterator from an iterable and an iterator.
Definition at line 147 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Move-constructs a QBaseIterator from other, preserving its const-ness.
Definition at line 151 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Copy-constructs a QBaseIterator from other, preserving its const-ness.
Definition at line 157 of file qiterable.h.
References QBaseIterator(), and initIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Destroys a QBaseIterator.
Definition at line 163 of file qiterable.h.
References clearIterator().
|
inlineprotected |
Destroys the internal native iterator.
Definition at line 209 of file qiterable.h.
References metaContainer(), and mutableIterable().
Referenced by ~QBaseIterator(), operator=(), and operator=().
|
inlineprotected |
Returns a const pointer to the iterable.
Definition at line 191 of file qiterable.h.
Referenced by initIterator(), and metaContainer().
|
inline |
Returns a const pointer to the internal native iterator.
Definition at line 221 of file qiterable.h.
|
inlineprotected |
Initializes the internal native iterator by duplicating copy, if given.
Definition at line 196 of file qiterable.h.
References constIterable(), metaContainer(), and mutableIterable().
Referenced by QBaseIterator(), and operator=().
|
inline |
Returns the meta sequence.
Definition at line 222 of file qiterable.h.
References constIterable().
Referenced by clearIterator(), and initIterator().
|
inlineprotected |
Returns a non-const pointer to the iterable, if the original iterable was non-const. Otherwise returns nullptr.
Definition at line 186 of file qiterable.h.
Referenced by clearIterator(), and initIterator().
|
inline |
Returns a non-const pointer to the internal native iterator.
Definition at line 220 of file qiterable.h.
|
inlineprotected |
Copy-assigns a QBaseIterator from other, preserving its const-ness.
Definition at line 176 of file qiterable.h.
References clearIterator(), and initIterator().
|
inlineprotected |
Move-assigns a QBaseIterator from other, preserving its const-ness.
Definition at line 165 of file qiterable.h.
References clearIterator().