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

Method iterator

kdevplatform/language/util/setrepository.cpp:514–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

512}
513
514Set::Iterator Set::iterator() const
515{
516 if (!m_tree || !m_repository)
517 return Iterator();
518
519 QMutexLocker lock(m_repository->m_mutex);
520
521 Iterator ret;
522 ret.d_ptr->repository = m_repository;
523
524 if (m_tree)
525 ret.d_ptr->startAtNode(m_repository->m_dataRepository.itemFromIndex(m_tree));
526 return ret;
527}
528
529//Creates a set item with the given children., they must be valid, and they must be split around their split-position.
530uint SetRepositoryAlgorithms::createSetFromNodes(uint leftNode, uint rightNode, const SetNodeData* left,

Callers 3

toStringMethod · 0.45
needsUpdateMethod · 0.45

Calls 3

startAtNodeMethod · 0.80
IteratorClass · 0.70
itemFromIndexMethod · 0.45

Tested by

no test coverage detected