![]() |
Qt 6.x
The Qt SDK
|
#include <qresultstore.h>
Collaboration diagram for QtPrivate::ResultStoreBase:Public Member Functions | |
| ResultStoreBase () | |
| void | setFilterMode (bool enable) |
| bool | filterMode () const |
| int | addResult (int index, const void *result) |
| int | addResults (int index, const void *results, int vectorSize, int logicalCount) |
| ResultIteratorBase | begin () const |
| ResultIteratorBase | end () const |
| bool | hasNextResult () const |
| ResultIteratorBase | resultAt (int index) const |
| bool | contains (int index) const |
| int | count () const |
| virtual | ~ResultStoreBase () |
| template<typename T , typename... Args> | |
| int | emplaceResult (int index, Args &&...args) |
| template<typename T > | |
| int | addResult (int index, const T *result) |
| template<typename T > | |
| int | moveResult (int index, T &&result) |
| template<typename T > | |
| int | addResults (int index, const QList< T > *results) |
| template<typename T > | |
| int | addResults (int index, const QList< T > *results, int totalCount) |
| int | addCanceledResult (int index) |
| template<typename T > | |
| int | addCanceledResults (int index, int _count) |
| template<typename T > | |
| void | clear () |
Protected Member Functions | |
| int | insertResultItem (int index, ResultItem &resultItem) |
| void | insertResultItemIfValid (int index, ResultItem &resultItem) |
| bool | containsValidResultItem (int index) const |
| void | syncPendingResults () |
| void | syncResultCount () |
| int | updateInsertIndex (int index, int _count) |
Static Protected Member Functions | |
| template<typename T > | |
| static void | clear (QMap< int, ResultItem > &store) |
Protected Attributes | |
| QMap< int, ResultItem > | m_results |
| int | insertIndex |
| int | resultCount |
| bool | m_filterMode |
| QMap< int, ResultItem > | pendingResults |
| int | filteredResults |
Definition at line 88 of file qresultstore.h.
| QtPrivate::ResultStoreBase::ResultStoreBase | ( | ) |
Definition at line 116 of file qresultstore.cpp.
|
virtual |
Definition at line 119 of file qresultstore.cpp.
References m_results, and Q_ASSERT.
Referenced by QFutureInterfaceBasePrivate::Data::setException().
Here is the caller graph for this function:
|
inline |
Definition at line 193 of file qresultstore.h.
|
inline |
Definition at line 202 of file qresultstore.h.
|
inline |
Definition at line 146 of file qresultstore.h.
| int QtPrivate::ResultStoreBase::addResult | ( | int | index, |
| const void * | result | ||
| ) |
Definition at line 193 of file qresultstore.cpp.
References insertResultItem().
Referenced by QFutureInterface< T >::reportResult().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 166 of file qresultstore.h.
References QList< T >::empty(), results, and QList< T >::size().
Here is the call graph for this function:
|
inline |
Definition at line 178 of file qresultstore.h.
References QList< T >::empty(), results, and QList< T >::size().
Here is the call graph for this function:| int QtPrivate::ResultStoreBase::addResults | ( | int | index, |
| const void * | results, | ||
| int | vectorSize, | ||
| int | logicalCount | ||
| ) |
Definition at line 199 of file qresultstore.cpp.
References insertResultItem(), m_filterMode, Q_ASSERT, and results.
Here is the call graph for this function:| ResultIteratorBase QtPrivate::ResultStoreBase::begin | ( | ) | const |
Definition at line 215 of file qresultstore.cpp.
References m_results.
Referenced by hasNextResult().
Here is the caller graph for this function:
|
inline |
Definition at line 212 of file qresultstore.h.
|
inlinestaticprotected |
Definition at line 123 of file qresultstore.h.
References QMap< Key, T >::clear(), QMap< Key, T >::constBegin(), QMap< Key, T >::constEnd(), and QMap< Key, T >::const_iterator::value().
Here is the call graph for this function:| bool QtPrivate::ResultStoreBase::contains | ( | int | index | ) | const |
Definition at line 235 of file qresultstore.cpp.
References end(), and resultAt().
Here is the call graph for this function:
|
protected |
Definition at line 168 of file qresultstore.cpp.
References QtPrivate::findResult(), insertIndex, it, m_filterMode, m_results, and pendingResults.
Here is the call graph for this function:| int QtPrivate::ResultStoreBase::count | ( | ) | const |
Definition at line 240 of file qresultstore.cpp.
References resultCount.
Referenced by QFutureInterface< T >::reportAndEmplaceResult(), and QFutureInterface< T >::reportResult().
Here is the caller graph for this function:
|
inline |
Definition at line 138 of file qresultstore.h.
References args.
Referenced by QFutureInterface< T >::reportAndEmplaceResult().
Here is the caller graph for this function:| ResultIteratorBase QtPrivate::ResultStoreBase::end | ( | ) | const |
Definition at line 220 of file qresultstore.cpp.
References m_results.
Referenced by contains(), hasNextResult(), and syncResultCount().
Here is the caller graph for this function:| bool QtPrivate::ResultStoreBase::filterMode | ( | ) | const |
Definition at line 130 of file qresultstore.cpp.
References m_filterMode.
Referenced by QFutureInterface< T >::reportAndEmplaceResult(), and QFutureInterface< T >::reportResult().
Here is the caller graph for this function:| bool QtPrivate::ResultStoreBase::hasNextResult | ( | ) | const |
Definition at line 225 of file qresultstore.cpp.
References begin(), and end().
Here is the call graph for this function:
|
protected |
Definition at line 154 of file qresultstore.cpp.
References QtPrivate::ResultItem::count(), filteredResults, insertIndex, insertResultItemIfValid(), m_filterMode, pendingResults, syncPendingResults(), and updateInsertIndex().
Referenced by addResult(), and addResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 144 of file qresultstore.cpp.
References QtPrivate::ResultItem::count(), filteredResults, QtPrivate::ResultItem::isValid(), m_results, and syncResultCount().
Referenced by insertResultItem(), and syncPendingResults().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 158 of file qresultstore.h.
| ResultIteratorBase QtPrivate::ResultStoreBase::resultAt | ( | int | index | ) | const |
Definition at line 230 of file qresultstore.cpp.
References QtPrivate::findResult(), and m_results.
Referenced by contains(), and syncResultCount().
Here is the call graph for this function:
Here is the caller graph for this function:| void QtPrivate::ResultStoreBase::setFilterMode | ( | bool | enable | ) |
Definition at line 125 of file qresultstore.cpp.
References m_filterMode.
Referenced by QFutureInterfaceBase::setFilterMode().
Here is the caller graph for this function:
|
protected |
Definition at line 177 of file qresultstore.cpp.
References filteredResults, insertResultItemIfValid(), it, pendingResults, and resultCount.
Referenced by insertResultItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 135 of file qresultstore.cpp.
References end(), it, resultAt(), and resultCount.
Referenced by insertResultItemIfValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 247 of file qresultstore.cpp.
References insertIndex, and qMax().
Referenced by insertResultItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 120 of file qresultstore.h.
Referenced by insertResultItem(), insertResultItemIfValid(), and syncPendingResults().
|
protected |
Definition at line 115 of file qresultstore.h.
Referenced by containsValidResultItem(), insertResultItem(), and updateInsertIndex().
|
protected |
Definition at line 118 of file qresultstore.h.
Referenced by addResults(), containsValidResultItem(), filterMode(), insertResultItem(), and setFilterMode().
|
protected |
Definition at line 114 of file qresultstore.h.
Referenced by ~ResultStoreBase(), begin(), containsValidResultItem(), end(), insertResultItemIfValid(), and resultAt().
|
protected |
Definition at line 119 of file qresultstore.h.
Referenced by containsValidResultItem(), insertResultItem(), and syncPendingResults().
|
protected |
Definition at line 116 of file qresultstore.h.
Referenced by count(), syncPendingResults(), and syncResultCount().