MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / getAllGroupInfo

Method getAllGroupInfo

src/database/WizDatabase.cpp:2586–2597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2584}
2585
2586bool WizDatabase::getAllGroupInfo(CWizGroupDataArray& arrayGroup)
2587{
2588 QMutexLocker locker(&m_mutexCache);
2589 bool isEmpty = m_cachedGroups.empty();
2590 bool ret = true;
2591 if (isEmpty)
2592 {
2593 ret = getAllGroupInfoCore(m_cachedGroups);
2594 }
2595 arrayGroup = m_cachedGroups;
2596 return ret;
2597}
2598
2599bool WizDatabase::setAllGroupInfo(const CWizGroupDataArray& arrayGroup)
2600{

Callers 6

openAllMethod · 0.80
loadSectionStatusMethod · 0.80
updateGroupsDataMethod · 0.80
initTopLevelItemsMethod · 0.80
initBizMethod · 0.80
initGroupsMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected