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

Method create

kdevplatform/language/duchain/duchainregister.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21DUChainBase* DUChainItemSystem::create(DUChainBaseData* data) const
22{
23 if (uint(m_factories.size()) <= data->classId || m_factories[data->classId] == nullptr)
24 return nullptr;
25 return m_factories[data->classId]->create(data);
26}
27
28DUChainBaseData* DUChainItemSystem::cloneData(const DUChainBaseData& data) const
29{

Callers 3

itemForIndexMethod · 0.45
loadMethod · 0.45
loadInformationMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected