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

Method createSetFromIndices

kdevplatform/language/util/setrepository.cpp:907–917  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

905}
906
907Set BasicSetRepository::createSetFromIndices(const std::vector<Index>& indices)
908{
909 QMutexLocker lock(m_mutex);
910
911 if (indices.empty())
912 return Set();
913
914 SetRepositoryAlgorithms alg(m_dataRepository, this);
915
916 return Set(alg.setForIndices(indices.begin(), indices.end()), this);
917}
918
919Set BasicSetRepository::createSet(Index i)
920{

Callers

nothing calls this directly

Calls 5

SetFunction · 0.85
emptyMethod · 0.80
setForIndicesMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected