MCPcopy Create free account
hub / github.com/KDE/kdevelop / contains

Method contains

kdevplatform/language/util/setrepository.cpp:999–1008  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997////////////Set convenience functions//////////////////
998
999bool Set::contains(Index index) const
1000{
1001 if (!m_tree || !m_repository)
1002 return false;
1003
1004 QMutexLocker lock(m_repository->m_mutex);
1005
1006 SetRepositoryAlgorithms alg(m_repository->m_dataRepository, m_repository);
1007 return alg.set_contains(m_repository->m_dataRepository.itemFromIndex(m_tree), index);
1008}
1009
1010Set Set::operator +(const Set& first) const
1011{

Callers 15

registerBreakpointMethod · 0.45
printLinesMethod · 0.45
updateLocalsMethod · 0.45
viewCreatedMethod · 0.45
rebaseMatchingUrlFunction · 0.45
proposedBuildFolderMethod · 0.45
addProjectItemMethod · 0.45
addSubDirMethod · 0.45
filterChangedMethod · 0.45
isManagedMethod · 0.45
projectClosingMethod · 0.45

Calls 2

set_containsMethod · 0.80
itemFromIndexMethod · 0.45

Tested by 8

printLinesMethod · 0.36
updateReadyMethod · 0.36
fileLabelsCppMethod · 0.36
fileLabelsYamlMethod · 0.36
defaultFileUrlsCppMethod · 0.36
defaultFileUrlsYamlMethod · 0.36
codeDescriptionMethod · 0.36
addToFileSetMethod · 0.36