![]() |
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 forms the common base class for all iterators operating on subclasses of QIterable. 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 forms the common base class for all iterators operating on subclasses of QIterable.
Definition at line 132 of file qiterable.h.
|
protecteddefault |
|
inlineprotected |
Creates a const QBaseIterator from an iterable and an iterator.
Definition at line 140 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Creates a non-const QBaseIterator from an iterable and an iterator.
Definition at line 144 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Move-constructs a QBaseIterator from other, preserving its const-ness.
Definition at line 148 of file qiterable.h.
References QBaseIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Copy-constructs a QBaseIterator from other, preserving its const-ness.
Definition at line 154 of file qiterable.h.
References QBaseIterator(), and initIterator().
Referenced by QBaseIterator().
|
inlineprotected |
Destroys a QBaseIterator.
Definition at line 160 of file qiterable.h.
References clearIterator().
|
inlineprotected |
Destroys the internal native iterator.
Definition at line 206 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 188 of file qiterable.h.
Referenced by initIterator(), and metaContainer().
|
inline |
Returns a const pointer to the internal native iterator.
Definition at line 218 of file qiterable.h.
|
inlineprotected |
Initializes the internal native iterator by duplicating copy, if given.
Definition at line 193 of file qiterable.h.
References constIterable(), metaContainer(), and mutableIterable().
Referenced by QBaseIterator(), and operator=().
|
inline |
Returns the meta sequence.
Definition at line 219 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 183 of file qiterable.h.
Referenced by clearIterator(), and initIterator().
|
inline |
Returns a non-const pointer to the internal native iterator.
Definition at line 217 of file qiterable.h.
|
inlineprotected |
Copy-assigns a QBaseIterator from other, preserving its const-ness.
Definition at line 173 of file qiterable.h.
References clearIterator(), and initIterator().
|
inlineprotected |
Move-assigns a QBaseIterator from other, preserving its const-ness.
Definition at line 162 of file qiterable.h.
References clearIterator().