Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSet< T > Class Template Reference

#include <qset.h>

+ Collaboration diagram for QSet< T >:

Classes

class  const_iterator
 
class  iterator
 

Public Types

typedef iterator Iterator
 
typedef const_iterator ConstIterator
 
typedef T key_type
 
typedef T value_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef qptrdiff difference_type
 
typedef qsizetype size_type
 

Public Member Functions

 QSet () noexcept
 
 QSet (std::initializer_list< T > list)
 
template<typename InputIterator , QtPrivate::IfIsInputIterator< InputIterator > = true>
 QSet (InputIterator first, InputIterator last)
 
void swap (QSet< T > &other) noexcept
 
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > operator== (const QSet< T > &other) const
 
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > operator!= (const QSet< T > &other) const
 
qsizetype size () const
 
bool isEmpty () const
 
qsizetype capacity () const
 
void reserve (qsizetype size)
 
void squeeze ()
 
void detach ()
 
bool isDetached () const
 
void clear ()
 
bool remove (const T &value)
 
template<typename Pred >
qsizetype removeIf (Pred predicate)
 
bool contains (const T &value) const
 
bool contains (const QSet< T > &set) const
 
iterator begin ()
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator constBegin () const noexcept
 
iterator end ()
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
const_iterator constEnd () const noexcept
 
iterator erase (const_iterator i)
 
qsizetype count () const
 
iterator insert (const T &value)
 
iterator insert (T &&value)
 
iterator find (const T &value)
 
const_iterator find (const T &value) const
 
const_iterator constFind (const T &value) const
 
QSet< T > & unite (const QSet< T > &other)
 
QSet< T > & intersect (const QSet< T > &other)
 
bool intersects (const QSet< T > &other) const
 
QSet< T > & subtract (const QSet< T > &other)
 
bool empty () const
 
iterator insert (const_iterator, const T &value)
 
QSet< T > & operator<< (const T &value)
 
QSet< T > & operator|= (const QSet< T > &other)
 
QSet< T > & operator|= (const T &value)
 
QSet< T > & operator&= (const QSet< T > &other)
 
QSet< T > & operator&= (const T &value)
 
QSet< T > & operator+= (const QSet< T > &other)
 
QSet< T > & operator+= (const T &value)
 
QSet< T > & operator-= (const QSet< T > &other)
 
QSet< T > & operator-= (const T &value)
 
QSet< T > operator| (const QSet< T > &other) const
 
QSet< T > operator& (const QSet< T > &other) const
 
QSet< T > operator+ (const QSet< T > &other) const
 
QSet< T > operator- (const QSet< T > &other) const
 
QList< T > values () const
 

Detailed Description

template<class T>
class QSet< T >

Definition at line 17 of file qset.h.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef const value_type* QSet< T >::const_pointer

Definition at line 171 of file qset.h.

◆ const_reference

template<class T >
typedef const value_type& QSet< T >::const_reference

Definition at line 173 of file qset.h.

◆ ConstIterator

template<class T >
typedef const_iterator QSet< T >::ConstIterator

Definition at line 153 of file qset.h.

◆ difference_type

template<class T >
typedef qptrdiff QSet< T >::difference_type

Definition at line 174 of file qset.h.

◆ Iterator

template<class T >
typedef iterator QSet< T >::Iterator

Definition at line 152 of file qset.h.

◆ key_type

template<class T >
typedef T QSet< T >::key_type

Definition at line 168 of file qset.h.

◆ pointer

template<class T >
typedef value_type* QSet< T >::pointer

Definition at line 170 of file qset.h.

◆ reference

template<class T >
typedef value_type& QSet< T >::reference

Definition at line 172 of file qset.h.

◆ size_type

template<class T >
typedef qsizetype QSet< T >::size_type

Definition at line 175 of file qset.h.

◆ value_type

template<class T >
typedef T QSet< T >::value_type

Definition at line 169 of file qset.h.

Constructor & Destructor Documentation

◆ QSet() [1/3]

template<class T >
QSet< T >::QSet ( )
inlinenoexcept

Definition at line 22 of file qset.h.

◆ QSet() [2/3]

template<class T >
QSet< T >::QSet ( std::initializer_list< T >  list)
inline

Definition at line 23 of file qset.h.

◆ QSet() [3/3]

template<class T >
template<typename InputIterator , QtPrivate::IfIsInputIterator< InputIterator > = true>
QSet< T >::QSet ( InputIterator  first,
InputIterator  last 
)
inline

Definition at line 26 of file qset.h.

References QSet< T >::insert(), and QtPrivate::reserveIfForwardIterator().

+ Here is the call graph for this function:

Member Function Documentation

◆ begin() [1/2]

template<class T >
iterator QSet< T >::begin ( )
inline

Definition at line 136 of file qset.h.

References QHash< Key, T >::begin().

Referenced by QCtfLibImpl::QCtfLibImpl(), QAndroidServicePrivate::~QAndroidServicePrivate(), QQuickItemViewTransitioner::~QQuickItemViewTransitioner(), QItemSelectionModelPrivate::_q_columnsAboutToBeInserted(), QItemSelectionModelPrivate::_q_rowsAboutToBeInserted(), QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved(), QQmlJS::Dom::AstRangesVisitor::addItemRanges(), QQmlPrivate::amendException(), QWidgetTextControl::anchorPosition(), QtPrivate::associative_erase_if(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QGraphicsScenePrivate::cancelGesturesForChildren(), QLibraryStore::cleanup(), QQuickWindowPrivate::cleanupNodesOnShutdown(), WorkspaceHandlers::clientInitialized(), QFutureInterfaceBasePrivate::connectOutputInterface(), QtGraphicsAnchorLayout::GraphPath::constraint(), QQmlOpenMetaObjectType::createProperties(), QQmlOpenMetaObjectType::createProperty(), QQmlReusableDelegateModelItemsPool::drain(), formatDifference(), QQmlMetaType::freeUnusedTypesAndCaches(), SyncScanner::generateDeprecatedHeaders(), QGraphicsScenePrivate::gestureEventHandler(), QQuickStochasticEngine::goalSeek(), hasActiveInlineComponents(), QTestTable::indexOf(), VDMAbstractItemModelDataType::initializeMetaType(), QQmlPropertyMap::insert(), QLibrary::isLibrary(), QQmlLSUtils::itemsFromTextLocation(), QTextDocumentLayoutPrivate::layoutFrame(), QV4::UrlSearchParamsPrototype::method_set(), QQmlJSCompilePass::nextStateFromAnnotations(), QQuickParticleSystem::nextSystemIndex(), QSettingsPrivate::normalizedKey(), parseEnvPath(), QSGMaterialShaderPrivate::prepare(), QtPrivate::printSequentialContainer(), QQmlOpenMetaObjectType::propertyCreated(), QHash< Key, T >::qHash(), QMultiHash< Key, T >::qHash(), QQuickViewTestUtils::qquickmodelviewstestutil_move(), readDependencies(), QQmlMetaType::removeFromInlineComponents(), QQmlMetaType::removeQQmlTypePrivate(), resolveTypesInternal(), QFutureInterface< T >::results(), QWindowsFileSystemWatcherEngineThread::run(), QQmlJSCodeGenerator::run(), runRcc(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCoreApplicationPrivate::sendPostedEvents(), sm_setProperty(), QTreeWidgetItemPrivate::sortChildren(), SyncScanner::sync(), and QQmlReusableDelegateModelItemsPool::takeItem().

+ Here is the call graph for this function:

◆ begin() [2/2]

template<class T >
const_iterator QSet< T >::begin ( ) const
inlinenoexcept

Definition at line 137 of file qset.h.

References QHash< Key, T >::begin().

+ Here is the call graph for this function:

◆ capacity()

template<class T >
qsizetype QSet< T >::capacity ( ) const
inline

Definition at line 54 of file qset.h.

References QHash< Key, T >::capacity().

+ Here is the call graph for this function:

◆ cbegin()

◆ cend()

◆ clear()

template<class T >
void QSet< T >::clear ( )
inline

Definition at line 61 of file qset.h.

References QHash< Key, T >::clear().

Referenced by QOpenGLContextVersionData::~QOpenGLContextVersionData(), QmlLsp::QQmlCodeModel::~QQmlCodeModel(), QQmlMetaTypeData::~QQmlMetaTypeData(), QRhi::~QRhi(), QTextDocumentPrivate::~QTextDocumentPrivate(), CPP::WriteIncludes::acceptUI(), WriteIncludesBase::acceptUI(), QQuickParticleAffector::activeGroup(), QQuickAnimatorController::beforeNodeSync(), QSSGStageGeneratorBase::begin(), QSSGRenderer::cleanupResources(), QTextDocumentPrivate::clear(), QQmlTreeModelToTableModel::clearModelData(), QCtfLibImpl::doTracepoint(), QRhi::endFrame(), QSSGRenderer::endFrame(), QRhi::endOffscreenFrame(), QSGRenderContext::endSync(), QMimeXMLProvider::excludeMimeTypeGlobs(), QGestureManager::filterEventThroughContexts(), QQuickShaderEffectPrivate::handleUpdatePaintNode(), QQmlTypePrivate::insertEnums(), QSGSoftwareRenderContext::invalidate(), QSGDefaultRenderContext::invalidate(), QQuickParticlePainter::performPendingCommits(), QSGRenderer::preprocess(), QGraphicsSceneBspTreeIndexPrivate::purgeRemovedItems(), QQuickParticlePainter::reset(), QSGRhiShaderLinker::reset(), QSGDefaultRenderContext::resetGlyphCacheResources(), HciManager::stopEvents(), QQsbIODeviceCollection::unmap(), QSGDistanceFieldGlyphCache::update(), QQuickParticleSystem::updateCurrentTime(), updateDirtySkeletons(), and QQuickAnimatorController::windowNodesDestroyed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ constBegin()

template<class T >
const_iterator QSet< T >::constBegin ( ) const
inlinenoexcept

Definition at line 139 of file qset.h.

References QHash< Key, T >::constBegin().

Referenced by QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QApplication::~QApplication(), QQmlJS::FixedPoolArray< T >::allocate(), QSSGQmlUtilities::applyEdit(), QNetworkAccessManagerPrivate::backendSupportedSchemes(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), QTreeView::collapseAll(), QGeoTiledMappingManagerEngine::engineTileError(), QGeoTiledMappingManagerEngine::engineTileFinished(), GeoTiledMapEsri::evaluateCopyrights(), QGeoTiledMapOsm::evaluateCopyrights(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QTreeView::expandToDepth(), QGestureManager::filterEvent(), QNetworkAccessManagerPrivate::findBackend(), QSSGRenderShaderMetadata::getShaderMetaData(), QQuickStochasticEngine::goalSeek(), mergeKeySets(), mergeKeySets(), QApplication::palette(), QtPrivate::printAssociativeContainer(), QGuiApplicationPrivate::processTouchEvent(), qAverage(), QVariantAnimationPrivate::recalculateCurrentInterval(), QItemSelectionModelPrivate::remove(), QGeoTiledMapScenePrivate::removeTiles(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QGeoTileRequestManagerPrivate::requestTiles(), QUrlQuery::setQueryItems(), QApplicationPrivate::translateTouchCancel(), QtMetaTypePrivate::typedefNameForType(), QGeoCameraTilesPrivate::updateMetadata(), QFontDialogPrivate::updateSizes(), QGeoTiledMapScenePrivate::updateTileBounds(), QGeoTiledMappingManagerEngine::updateTileRequests(), QSet< T >::values(), QmlTypeRegistrar::write(), QtPrivate::writeAssociativeContainer(), and QtPrivate::writeAssociativeMultiContainer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ constEnd()

template<class T >
const_iterator QSet< T >::constEnd ( ) const
inlinenoexcept

Definition at line 143 of file qset.h.

References QHash< Key, T >::constEnd().

Referenced by QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QApplication::~QApplication(), QSSGQmlUtilities::applyEdit(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), QTreeView::collapseAll(), QQmlMetaType::countInternalCompositeTypeSelfReferences(), doWriteProperties(), QGeoTiledMappingManagerEngine::engineTileError(), QGeoTiledMappingManagerEngine::engineTileFinished(), QSet< T >::erase(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QTreeView::expandToDepth(), QQsbInMemoryCollection::extractEntry(), QtAndroidPrivate::findClass(), QQmlMetaType::findInlineComponentType(), findMethodDefinitionOf(), findUsagesOfNonJSIdentifiers(), QOpenGLVersionFunctionsFactory::get(), AndroidCamcorderProfile::get(), getCachedClass(), QSSGQmlUtilities::getIdForAnimation(), QSSGQmlUtilities::getIdForNode(), QSSGRenderShaderMetadata::getShaderMetaData(), QQuickStochasticEngine::goalSeek(), QQmlMetaType::inlineComponentTypeForUrl(), QQmlJSScope::ContextualTypes::isNullType(), mergeKeySets(), mergeKeySets(), QApplication::palette(), QtPrivate::printAssociativeContainer(), QGuiApplicationPrivate::processTouchEvent(), readInputFile(), readInputFileDirectory(), QVariantAnimationPrivate::recalculateCurrentInterval(), QQmlMetaType::registerInternalCompositeType(), QItemSelectionModelPrivate::remove(), QGeoTiledMapScenePrivate::removeTiles(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QGeoTileRequestManagerPrivate::requestTiles(), sendRequestPermissionsResult(), QApplicationPrivate::translateTouchCancel(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::unregisterInternalCompositeType(), QGeoCameraTilesPrivate::updateMetadata(), QFontDialogPrivate::updateSizes(), QGeoTiledMapScenePrivate::updateTileBounds(), QGeoTiledMappingManagerEngine::updateTileRequests(), QSet< T >::values(), QQmlMetaType::valueType(), and QmlTypeRegistrar::write().

+ Here is the call graph for this function:

◆ constFind()

template<class T >
const_iterator QSet< T >::constFind ( const T &  value) const
inline

Definition at line 161 of file qset.h.

References QSet< T >::find().

Referenced by QQuick3DObjectPrivate::attachWatcherPriv(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), QQmlMetaType::countInternalCompositeTypeSelfReferences(), QDBusMetaType::demarshall(), doWriteProperties(), Graph< Vertex, EdgeData >::edgeData(), QQsbInMemoryCollection::extractEntry(), QtAndroidPrivate::findClass(), QQmlMetaType::findInlineComponentType(), findMethodDefinitionOf(), findUsagesOfNonJSIdentifiers(), QSSGRenderer::generateRhiShaderPipelineImpl(), QOpenGLVersionFunctionsFactory::get(), AndroidCamcorderProfile::get(), getCachedClass(), QSSGQmlUtilities::getIdForAnimation(), QSSGQmlUtilities::getIdForNode(), QSSGRenderShaderMetadata::getShaderMetaData(), QQmlMetaType::inlineComponentTypeForUrl(), QtSharedPointer::internalSafetyCheckRemove(), QQmlJSScope::ContextualTypes::isNullType(), QDBusMetaType::marshall(), notifyAutoFocusComplete(), notifyFrameAvailable(), notifyNewPreviewFrame(), notifyPictureCaptured(), notifyPictureExposed(), QApplication::palette(), QApplication::palette(), QQmlMetaType::qmlType(), QQmlMetaType::registerInternalCompositeType(), QV4::Compiler::StringTableGenerator::registerString(), sendRequestPermissionsResult(), setMaterialProperties(), QDBusMetaType::typeToSignature(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::valueType(), verifyDigestMD5(), and QSSGQmlUtilities::writeQml().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ contains() [1/2]

template<class T >
Q_INLINE_TEMPLATE bool QSet< T >::contains ( const QSet< T > &  set) const

Definition at line 285 of file qset.h.

References contains(), i, and other().

+ Here is the call graph for this function:

◆ contains() [2/2]

template<class T >
bool QSet< T >::contains ( const T &  value) const
inline

Definition at line 71 of file qset.h.

References QHash< Key, T >::contains().

Referenced by QWindowsFormatInfo::QWindowsFormatInfo(), QSortFilterProxyModelPrivate::_q_sourceDataChanged(), QQuickParticleAffector::activeGroup(), WriteIncludesBase::add(), QQsbIODeviceCollection::addEntry(), QGeoTiledMapScenePrivate::addTile(), QmlIR::IRBuilder::appendAlias(), QQmlJS::Dom::ModuleIndex::autoExports(), QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), checkCondition(), QAbstractItemViewPrivate::checkPersistentEditorFocus(), QQmlTreeModelToTableModel::childrenVisible(), codesignBundle(), QQmlTreeModelToTableModel::collapse(), QQmlTreeModelToTableModel::collapseRecursively(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QGraphicsScenePrivate::enterModal(), QQmlTreeModelToTableModel::expand(), QQmlTreeModelToTableModel::expandRecursively(), QCoreTextFontDatabase::fallbacksForFamily(), QSortFilterProxyModelPrivate::filter_changed(), QGestureManager::filterEventThroughContexts(), QGraphicsAnchorLayoutPrivate::findPaths(), QGraphicsScenePrivate::gestureEventHandler(), QGraphicsScenePrivate::gestureTargetsAtHotSpots(), QMdiSubWindowPrivate::getOperation(), getQtFrameworksForPaths(), QQuickStochasticEngine::goalSeek(), QSSGShaderCustomMaterialAdapter::hasCustomShaderFunction(), QOpenGLContext::hasExtension(), QTableViewPrivate::heightHintForIndex(), QGraphicsAnchorLayoutPrivate::identifyFloatItems(), QQmlPluginImporter::importDynamicPlugin(), QQmlPluginImporter::importPlugins(), QQmlPluginImporter::importStaticPlugin(), QQmlTypePrivate::insertEnums(), QSet< T >::intersect(), QSet< T >::intersects(), QSGDistanceFieldGlyphNode::invalidateGlyphs(), QQmlTreeModelToTableModel::isExpanded(), QTreeViewPrivate::isIndexExpanded(), QErrorMessagePrivate::isMessageToBeShown(), QPhysicsWorld::isNodeRemoved(), QCoreTextFontDatabase::isPrivateFontFamily(), QTreeViewPrivate::isRowHidden(), QRhiGles2::isTextureFormatSupported(), QQmlJSImportVisitor::isTypeResolved(), QQmlTreeModelToTableModel::lastChildIndex(), QGraphicsScenePrivate::leaveModal(), QQuickTextDocumentWithImageResources::loadPixmap(), QStandardItemModel::mimeData(), QMimeBinaryProvider::mimeTypeForName(), HciManager::monitorEvent(), objectToVariant(), QSet< T >::operator&=(), QQmlJS::Dom::FieldFilter::operator()(), QSGDistanceFieldGlyphCache::populate(), QQuickItemParticle::prepareNextFrame(), QSGRenderer::preprocess(), QQmlJSImportVisitor::processPropertyBindingObjects(), readAndroidDependencyXml(), readDependenciesFromElf(), QV4::Compiler::Codegen::referenceForName(), QWindowsContext::registerWindowClass(), QGeoTiledMappingManagerEngine::releaseMap(), QSSGQmlUtilities::removeFromAnimation(), QThreadPoolThread::run(), QmlIR::IRBuilder::sanityCheckFunctionNames(), scanImports(), serializeArray(), QWinSettingsPrivate::set(), QmlIR::IRBuilder::setId(), QQuickParticleAffector::shouldAffect(), QQmlTreeModelToTableModel::showModelChildItems(), QQmlPropertyCache::signalParameterStringForJS(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), QmlIR::Object::simplifyRequiredProperties(), QGraphicsAnchorLayoutPrivate::simplifyVertices(), QThreadPoolPrivate::startThread(), QTreeViewPrivate::storeExpanded(), QMetalGraphicsPipelineData::Tessellation::teseFragRenderPipeline(), QQmlTreeModelToTableModel::testConsistency(), QGeoTileRequestManagerPrivate::tileError(), QQuickSmoothedAnimation::transition(), QQuickSpringAnimation::transition(), updateDirtySkeletons(), QGeoTiledMapPrivate::updateScene(), QGeoTiledMapPrivate::updateTile(), QSGRhiShaderEffectMaterial::usesSubRectUniform(), QmlIR::IRBuilder::visit(), QmlIR::IRBuilder::visit(), QTableViewPrivate::widthHintForIndex(), QTreeViewPrivate::widthHintForIndex(), QTextOdfWriter::writeFrame(), and QTextOdfWriter::writeTableFormat().

+ Here is the call graph for this function:

◆ count()

template<class T >
qsizetype QSet< T >::count ( ) const
inline

Definition at line 154 of file qset.h.

References QHash< Key, T >::size().

Referenced by QSSGShaderCache::QSSGShaderCache(), QTriggerBody::collisionCount(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QtPrivate::findResult(), and QQmlListCompositor::transition().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ detach()

template<class T >
void QSet< T >::detach ( )
inline

Definition at line 58 of file qset.h.

References QHash< Key, T >::detach().

+ Here is the call graph for this function:

◆ empty()

template<class T >
bool QSet< T >::empty ( ) const
inline

Definition at line 177 of file qset.h.

References QSet< T >::isEmpty().

Referenced by QAndroidServicePrivate::~QAndroidServicePrivate(), and QSGRhiDistanceFieldGlyphCache::isActive().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ end() [1/2]

template<class T >
iterator QSet< T >::end ( )
inline

Definition at line 140 of file qset.h.

References QHash< Key, T >::end().

Referenced by QQuickItemViewTransitioner::~QQuickItemViewTransitioner(), QItemSelectionModelPrivate::_q_columnsAboutToBeInserted(), QItemSelectionModelPrivate::_q_rowsAboutToBeInserted(), QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved(), QQmlJS::Dom::AstRangesVisitor::addItemRanges(), assignKnownModuleIds(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QGraphicsScenePrivate::cancelGesturesForChildren(), QLibraryStore::cleanup(), QQuickWindowPrivate::cleanupNodesOnShutdown(), WorkspaceHandlers::clientInitialized(), QTreeViewPrivate::collapse(), QFutureInterfaceBasePrivate::connectOutputInterface(), QtGraphicsAnchorLayout::GraphPath::constraint(), QQmlOpenMetaObjectType::createProperties(), QQmlOpenMetaObjectType::createProperty(), QQmlReusableDelegateModelItemsPool::drain(), QSignalMapperPrivate::emitMappedValue(), QQmlJS::Dom::QQmlDomAstCreator::endVisit(), QQmlJSImportVisitor::enterEnvironmentNonUnique(), q20::erase(), q20::erase_if(), FolderIterator::fileType(), QmlTypesClassDescription::findType(), QQmlMetaType::freeUnusedTypesAndCaches(), SyncScanner::generateDeprecatedHeaders(), QGraphicsScenePrivate::gestureEventHandler(), QQmlTableModelColumn::getterAtRole(), QTestTable::indexOf(), Node< _Tp >::insertEdge(), Automaton::internState(), isAllowedInMajorVersion(), QQmlLSUtils::itemsFromTextLocation(), QQmlJS::Dom::DomEnvironment::loadFile(), QV4::UrlSearchParamsPrototype::method_set(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), parseEnvPath(), QtModuleInfoStore::populate(), QWindowsKeyMapper::possibleKeys(), QSGMaterialShaderPrivate::prepare(), Q_APPLICATION_STATIC(), QQmlJS::Dom::DomEnvironment::qmldirFileWithPath(), QQmlJS::Dom::DomEnvironment::qmlFileWithPath(), qrhigl_accumulateComputeResource(), qrhivk_accumulateComputeResource(), QSSGBufferManager::registerMeshData(), QSSGQmlUtilities::removeProperty(), QQmlMetaType::removeQQmlTypePrivate(), QUrlQuery::removeQueryItem(), QWindowsFileSystemWatcherEngineThread::run(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QQmlTreeModelToTableModel::selectionForRowRange(), QmlIR::Object::simplifyRequiredProperties(), sm_setProperty(), QTreeWidgetItemPrivate::sortChildren(), SyncScanner::sync(), QQmlReusableDelegateModelItemsPool::takeItem(), QDBusMetaType::typeToSignature(), QSSGBufferManager::unregisterMeshData(), and QQmlEnginePrivate::valueTypeInstance().

+ Here is the call graph for this function:

◆ end() [2/2]

template<class T >
const_iterator QSet< T >::end ( ) const
inlinenoexcept

Definition at line 141 of file qset.h.

References QHash< Key, T >::end().

+ Here is the call graph for this function:

◆ erase()

◆ find() [1/2]

template<class T >
iterator QSet< T >::find ( const T &  value)
inline

◆ find() [2/2]

template<class T >
const_iterator QSet< T >::find ( const T &  value) const
inline

Definition at line 160 of file qset.h.

References QHash< Key, T >::find().

+ Here is the call graph for this function:

◆ insert() [1/3]

template<class T >
iterator QSet< T >::insert ( const T &  value)
inline

Definition at line 155 of file qset.h.

References QHash< Key, T >::insert().

Referenced by QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QQmlOpenMetaObject::QQmlOpenMetaObject(), QQmlOpenMetaObject::QQmlOpenMetaObject(), QSet< T >::QSet(), WriteIncludesBase::add(), QTextDocumentPrivate::addCursor(), QQsbIODeviceCollection::addEntry(), QV4::IdentifierTable::addIdentifierHash(), QSSGStageGeneratorBase::addInclude(), QSSGRenderer::addMaterialDirtyClear(), QSGRenderer::addNodesToPreprocess(), QmlLsp::QQmlCodeModel::addOpenToUpdate(), QQmlJS::Dom::QmltypesFile::addUri(), QV4::Compiler::Context::addUsedVariable(), QQuickAnimatorController::animationStateChanged(), QCommonListViewBase::appendHiddenRow(), QEvdevTouchScreenData::assignIds(), QQmlJS::Dom::ModuleIndex::autoExports(), QGraphicsAnchorLayoutPrivate::calculateVertexPositions(), QQuickAnimatorController::cancel(), QGestureManager::cleanupCachedGestures(), WorkspaceHandlers::clientInitialized(), QDBusConnectionPrivate::closeConnection(), codesignBundle(), QRhiGles2::create(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QSGGuiThreadRenderLoop::createRenderContext(), QSGThreadedRenderLoop::createRenderContext(), QSGDefaultRenderContext::deferredReleaseGlyphCacheTexture(), QTableViewPrivate::drawAndClipSpans(), QQmlJSImportVisitor::endVisit(), QGraphicsScenePrivate::enterModal(), QGeoTiledMappingManagerEngineNokia::evaluateCopyrightsText(), QQmlTreeModelToTableModel::expand(), QQmlTreeModelToTableModel::expandRow(), QCoreTextFontDatabase::fallbacksForFamily(), QtAndroidPrivate::findClass(), QHashPrivate::Data< Node >::findOrInsert(), QGraphicsAnchorLayoutPrivate::findPaths(), QQmlJSScope::findType(), QGraphicsScenePrivate::gestureEventHandler(), QGraphicsScenePrivate::gestureTargetsAtHotSpots(), Node< _Tp >::get(), getCodecSet(), QGraphicsAnchorLayoutPrivate::getGraphParts(), QSSGQmlUtilities::getIdForNode(), getIllegalNames(), getQtFrameworksForPaths(), getVariables(), QGraphicsAnchorLayoutPrivate::identifyFloatItems(), QGraphicsAnchorLayoutPrivate::identifyNonFloatItems_helper(), QQmlPluginImporter::importDynamicPlugin(), QQmlPluginImporter::importPlugins(), QSqlTableModel::indexInQuery(), QWidgetPrivate::init(), QV4::ExecutionEngine::initializeGlobal(), QQmlTypePrivate::insertEnums(), QAbstractOpenGLFunctionsPrivate::insertExternalFunctions(), QuickTestResultPrivate::intern(), QQmlJSImportVisitor::isTypeResolved(), QGraphicsScenePrivate::leaveModal(), QSGRhiShaderLinker::linkTextureSubRects(), QQmlJS::Dom::DomEnvironment::loadFile(), QQuickTextDocumentWithImageResources::loadPixmap(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), QSGRenderer::nodeChanged(), objectToVariant(), QAndroidServicePrivate::onBind(), QSet< T >::operator+=(), QSet< T >::operator|=(), Moc::parse(), QWaylandXdgShellPrivate::ping(), QWaylandWlShellSurfacePrivate::ping(), QQuickStackViewPrivate::popToItem(), QSGDistanceFieldGlyphCache::populate(), QSGOpenVGFontGlyphCache::populate(), QSSGShaderCustomMaterialAdapter::prepareCustomShader(), QQmlJSImportVisitor::processPropertyBindingObjects(), QGuiApplicationPrivate::processTouchEvent(), QQuickShaderEffectPrivate::propertyChanged(), readAndroidDependencyXml(), readDependenciesFromElf(), QHashPrivate::Data< Node >::reallocationHelper(), QQuick3DObjectPrivate::refSceneManager(), QQuickItemPrivate::refWindow(), QTriggerBody::registerCollision(), TestHTTPServer::registerFileNameForContentSubstitution(), QSSGRhiContext::registerMesh(), QSSGBufferManager::registerMeshData(), QCtfLibImpl::registerMetadata(), QGraphicsScenePrivate::registerScenePosItem(), QV4::Compiler::StringTableGenerator::registerString(), QSSGRhiContext::registerTexture(), QWindowsContext::registerWindowClass(), QHashPrivate::Data< Node >::rehash(), QSGDistanceFieldGlyphCache::release(), QSGOpenVGFontGlyphCache::release(), QSGRenderer::removeNodesToPreprocess(), QGeoTileRequestManagerPrivate::requestTiles(), RetryFuture::retry(), QmlIR::IRBuilder::sanityCheckFunctionNames(), QQsbInMemoryCollection::save(), scanImports(), serializeArray(), QSimplex::setConstraints(), QQuick3DRenderStats::setExtendedDataCollectionEnabled(), QSGDistanceFieldGlyphNode::setGlyphs(), QQuickItem::setParentItem(), QPrinterPrivate::setProperty(), QQuick3DRenderStats::setRhiContext(), QGraphicsAnchorLayoutPrivate::simplifyGraphIteration(), QmlIR::Object::simplifyRequiredProperties(), QGraphicsAnchorLayoutPrivate::simplifyVertices(), QQuickAnimatorController::start(), QThreadPoolPrivate::startThread(), QTreeViewPrivate::storeExpanded(), QPlatformMediaFormatInfo::supportedAudioCodecs(), QPlatformMediaFormatInfo::supportedVideoCodecs(), SyncScanner::sync(), QQuick3DWindowAttachment::synchronize(), QTlsPrivate::systemCaCertificates(), QQuickSmoothedAnimation::transition(), QQuickSpringAnimation::transition(), QApplicationPrivate::translateTouchCancel(), QQuick3DSceneManager::updateDirtyResource(), updateDirtySkeletons(), QGeoCameraTilesPrivate::updateMetadata(), QSpanCollection::updateRemovedRows(), QGeoTiledMappingManagerEngine::updateTileRequests(), QGeoTiledMapRootNode::updateTiles(), QQuickShaderEffectPrivate::updateUniformValue(), QQmlMetaType::valueType(), Graph< Vertex, EdgeData >::vertices(), QGstreamerVideoDevices::videoDevices(), QQmlJSImportVisitor::visit(), QmlIR::IRBuilder::visit(), QQmlJSImportVisitor::visit(), QQuickAnimatorController::windowNodesDestroyed(), QTextOdfWriter::writeAll(), and QTextOdfWriter::writeTableFormat().

+ Here is the call graph for this function:

◆ insert() [2/3]

template<class T >
iterator QSet< T >::insert ( const_iterator  ,
const T &  value 
)
inline

Definition at line 179 of file qset.h.

References QSet< T >::insert().

Referenced by QSet< T >::insert().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ insert() [3/3]

template<class T >
iterator QSet< T >::insert ( T &&  value)
inline

Definition at line 157 of file qset.h.

References QHash< Key, T >::emplace().

+ Here is the call graph for this function:

◆ intersect()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::intersect ( const QSet< T > &  other)

Definition at line 235 of file qset.h.

References QSet< T >::contains(), e, other(), and remove().

Referenced by QSet< T >::operator&=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ intersects()

template<class T >
Q_INLINE_TEMPLATE bool QSet< T >::intersects ( const QSet< T > &  other) const

Definition at line 255 of file qset.h.

References QSet< T >::cbegin(), QSet< T >::cend(), QSet< T >::contains(), e, i, other(), and this.

Referenced by quick_test_main_with_setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isDetached()

template<class T >
bool QSet< T >::isDetached ( ) const
inline

Definition at line 59 of file qset.h.

References QHash< Key, T >::isDetached().

+ Here is the call graph for this function:

◆ isEmpty()

template<class T >
bool QSet< T >::isEmpty ( ) const
inline

Definition at line 52 of file qset.h.

References QHash< Key, T >::isEmpty().

Referenced by QQsbIODeviceCollection::~QQsbIODeviceCollection(), QQuickParticleAffector::activeGroup(), QGraphicsScenePrivate::cancelGesturesForChildren(), QTreeViewPrivate::collapse(), QTreeViewPrivate::draggablePaintPairs(), QSet< T >::empty(), QGeoTiledMappingManagerEngine::engineTileError(), QGeoTiledMappingManagerEngine::engineTileFinished(), GeoTiledMapEsri::evaluateCopyrights(), QGeoTiledMapOsm::evaluateCopyrights(), QGestureManager::filterEventThroughContexts(), QQmlJS::AST::FormalParameterList::finish(), CPP::generateMultiDirectiveBegin(), CPP::generateMultiDirectiveEnd(), QSSGRenderer::generateRhiShaderPipelineImpl(), QGraphicsScenePrivate::gestureEventHandler(), QQuickStochasticEngine::goalSeek(), QTreeViewPrivate::hasVisibleChildren(), QSSGRhiContextStats::isEnabled(), QTreeViewPrivate::isRowHidden(), QTreeViewPrivate::itemDecorationAt(), QV4::ExecutableCompilationUnit::namedObjectsPerComponent(), QQuickParticleSystem::nextSystemIndex(), QmlLsp::QQmlCodeModel::openNeedUpdate(), parseEnvPath(), QSGDistanceFieldGlyphCache::populate(), QSGOpenVGFontGlyphCache::populate(), QGraphicsSceneBspTreeIndexPrivate::purgeRemovedItems(), quick_test_main_with_setup(), reachableSymbols(), readDependencies(), QGeoTiledMappingManagerEngine::releaseMap(), Graph< Vertex, EdgeData >::removeDirectedEdge(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QGeoTileRequestManagerPrivate::requestTiles(), QGeoTiledMapScenePrivate::setVisibleTiles(), QmlIR::Object::simplifyRequiredProperties(), QSGRhiShaderEffectNode::syncMaterial(), QQmlTreeModelToTableModel::testConsistency(), QThreadPoolPrivate::tryStart(), QQsbIODeviceCollection::unmap(), QGeoTiledMapScenePrivate::updateTileBounds(), QGeoTiledMappingManagerEngine::updateTileRequests(), and QV4::Compiler::ScanFunctions::visit().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator!=()

template<class T >
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > QSet< T >::operator!= ( const QSet< T > &  other) const
inline

Definition at line 43 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator&()

template<class T >
QSet< T > QSet< T >::operator& ( const QSet< T > &  other) const
inline

Definition at line 194 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator&=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator&= ( const QSet< T > &  other)
inline

Definition at line 185 of file qset.h.

References QSet< T >::intersect(), and other().

+ Here is the call graph for this function:

◆ operator&=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator&= ( const T &  value)
inline

Definition at line 186 of file qset.h.

References QSet< T >::contains().

+ Here is the call graph for this function:

◆ operator+()

template<class T >
QSet< T > QSet< T >::operator+ ( const QSet< T > &  other) const
inline

Definition at line 196 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator+=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator+= ( const QSet< T > &  other)
inline

Definition at line 188 of file qset.h.

References other(), and QSet< T >::unite().

+ Here is the call graph for this function:

◆ operator+=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator+= ( const T &  value)
inline

Definition at line 189 of file qset.h.

References QSet< T >::insert().

+ Here is the call graph for this function:

◆ operator-()

template<class T >
QSet< T > QSet< T >::operator- ( const QSet< T > &  other) const
inline

Definition at line 198 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator-=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator-= ( const QSet< T > &  other)
inline

Definition at line 190 of file qset.h.

References other(), and QSet< T >::subtract().

+ Here is the call graph for this function:

◆ operator-=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator-= ( const T &  value)
inline

Definition at line 191 of file qset.h.

References QSet< T >::remove().

+ Here is the call graph for this function:

◆ operator<<()

template<class T >
QSet< T > & QSet< T >::operator<< ( const T &  value)
inline

Definition at line 179 of file qset.h.

◆ operator==()

template<class T >
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > QSet< T >::operator== ( const QSet< T > &  other) const
inline

Definition at line 40 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator|()

template<class T >
QSet< T > QSet< T >::operator| ( const QSet< T > &  other) const
inline

Definition at line 192 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator|=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator|= ( const QSet< T > &  other)
inline

Definition at line 183 of file qset.h.

References other(), and QSet< T >::unite().

+ Here is the call graph for this function:

◆ operator|=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator|= ( const T &  value)
inline

Definition at line 184 of file qset.h.

References QSet< T >::insert().

+ Here is the call graph for this function:

◆ remove()

template<class T >
bool QSet< T >::remove ( const T &  value)
inline

Definition at line 63 of file qset.h.

References QHash< Key, T >::remove().

Referenced by QQmlOpenMetaObject::~QQmlOpenMetaObject(), QQuickItemViewTransitionJob::~QQuickItemViewTransitionJob(), QWidget::~QWidget(), QQuickAnimatorController::animationStateChanged(), QQuickAnimatorController::cancel(), QWidgetExceptionCleaner::cleanup(), QGestureManager::cleanupCachedGestures(), QSSGRhiContextStats::cleanupLayerInfo(), QQuick3DSceneManager::cleanupNodes(), codesignBundle(), QQmlTreeModelToTableModel::collapse(), QQmlTreeModelToTableModel::collapseRecursively(), QQmlTreeModelToTableModel::collapseRow(), QQuick3DObjectPrivate::derefSceneManager(), QTriggerBody::deregisterCollision(), QV4::Compiler::Codegen::endVisit(), QV4::Compiler::Codegen::endVisit(), QV4::Compiler::Codegen::endVisit(), QQmlJSImportVisitor::endVisit(), QGeoTiledMappingManagerEngine::engineTileError(), QGeoTiledMappingManagerEngine::engineTileFinished(), QSGGuiThreadRenderLoop::ensureRhi(), QGraphicsScenePrivate::gestureEventHandler(), QGraphicsScenePrivate::gestureTargetsAtHotSpots(), QStandardItemModel::mimeData(), QQuickParticleSystem::nextSystemIndex(), QSGRenderer::nodeChanged(), objectToVariant(), QSet< T >::operator-=(), QGestureManager::recycle(), QGeoTiledMappingManagerEngine::releaseMap(), QSSGRhiContext::releaseMesh(), QSSGRhiContext::releaseTexture(), QTextDocumentPrivate::removeCursor(), Graph< Vertex, EdgeData >::removeDirectedEdge(), QAbstractOpenGLFunctionsPrivate::removeExternalFunctions(), QCommonListViewBase::removeHiddenRow(), QV4::IdentifierTable::removeIdentifierHash(), QGraphicsScenePrivate::removeItemHelper(), QSGRenderer::removeNodesToPreprocess(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QQuickItemParticle::reset(), QQuickParticleAffector::reset(), serializeArray(), QQuick3DRenderStats::setExtendedDataCollectionEnabled(), QQuickItem::setParentItem(), QGraphicsScene::setSelectionArea(), QWaylandWlShellSurfacePrivate::shell_surface_pong(), QQuickAnimatorController::start(), QGeoTileRequestManagerPrivate::tileError(), QGeoTileRequestManagerPrivate::tileFetched(), QQuickItemParticle::unfreeze(), QGraphicsScenePrivate::unregisterScenePosItem(), QGeoTiledMappingManagerEngine::updateTileRequests(), and QWaylandXdgShellPrivate::xdg_wm_base_pong().

+ Here is the call graph for this function:

◆ removeIf()

template<class T >
template<typename Pred >
qsizetype QSet< T >::removeIf ( Pred  predicate)
inline

Definition at line 66 of file qset.h.

References predicate, and QtPrivate::qset_erase_if().

Referenced by QQmlJS::Dom::DomEnvironment::removePath().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reserve()

template<class T >
Q_INLINE_TEMPLATE void QSet< T >::reserve ( qsizetype  size)
inline

Definition at line 222 of file qset.h.

Referenced by QStandardItemModel::mimeData().

+ Here is the caller graph for this function:

◆ size()

template<class T >
qsizetype QSet< T >::size ( ) const
inline

Definition at line 50 of file qset.h.

References QHash< Key, T >::size().

Referenced by QThreadPoolPrivate::activeThreadCount(), QMimeBinaryProvider::addAllMimeTypes(), QtStringBuilder::appendToByteArray(), QMetaStringTable::blobSize(), QQuick3DWindowAttachment::cleanupResources(), QSortFilterProxyModel::columnCount(), QNetworkCookieJar::cookiesForUrl(), QTriggerBody::deregisterCollision(), QCtfLibImpl::doTracepoint(), QQsbIODeviceCollection::dumpInfo(), CPP::generateMultiDirectiveBegin(), QQuickStochasticEngine::goalSeek(), QSortFilterProxyModel::headerData(), QCommonListViewBase::hiddenCount(), QSortFilterProxyModel::index(), QStandardItemModel::mimeData(), operator+=(), Moc::parse(), QRhiD3D11::pipelineCacheData(), QRhiGles2::pipelineCacheData(), QQmlJSImportVisitor::processDefaultProperties(), QQmlOpenMetaObjectType::propertyCreated(), QUrlQuery::query(), quick_test_main_with_setup(), QVariantAnimationPrivate::recalculateCurrentInterval(), QTriggerBody::registerCollision(), QGraphicsScenePrivate::removeItemHelper(), QSortFilterProxyModel::rowCount(), QShader::serialized(), set_text(), QSGDistanceFieldGlyphNode::setGlyphs(), QSortFilterProxyModel::setHeaderData(), QSSGRhiShaderPipeline::setUniform(), QSSGRhiShaderPipeline::setUniformArray(), QSortFilterProxyModel::sibling(), QQmlJS::Dom::sinkEscaped(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), updateFile(), and QGstreamerVideoDevices::videoDevices().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ squeeze()

template<class T >
void QSet< T >::squeeze ( )
inline

Definition at line 56 of file qset.h.

References QHash< Key, T >::squeeze().

+ Here is the call graph for this function:

◆ subtract()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::subtract ( const QSet< T > &  other)

Definition at line 273 of file qset.h.

References clear(), e, other(), and remove().

Referenced by codesignBundle(), QSet< T >::operator-=(), and quick_test_main_with_setup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swap()

template<class T >
void QSet< T >::swap ( QSet< T > &  other)
inlinenoexcept

Definition at line 36 of file qset.h.

References other(), and QHash< Key, T >::swap().

+ Here is the call graph for this function:

◆ unite()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::unite ( const QSet< T > &  other)

Definition at line 225 of file qset.h.

References e, insert(), and other().

Referenced by QSet< T >::operator+=(), QSet< T >::operator|=(), QQuickItemParticle::reset(), QQuick3DWindowAttachment::synchronize(), and QGeoCameraTilesPrivate::updateGeometry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ values()

template<typename T >
Q_OUTOFLINE_TEMPLATE QList< T > QSet< T >::values

Definition at line 297 of file qset.h.

References QSet< T >::constBegin(), QSet< T >::constEnd(), and i.

Referenced by QApplication::allWidgets(), QGraphicsScenePrivate::cancelGesturesForChildren(), CPP::generateMultiDirectiveBegin(), QGraphicsScenePrivate::gestureEventHandler(), getVariables(), main(), runMoc(), QSimplex::setConstraints(), QPlatformMediaFormatInfo::supportedAudioCodecs(), QPlatformMediaFormatInfo::supportedVideoCodecs(), QQuick3DSceneRenderer::synchronize(), and QGstreamerVideoDevices::videoDevices().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: