MCPcopy Create free account
hub / github.com/comaps/comaps / SetTable

Method SetTable

libs/indexer/mwm_set.cpp:406–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404MwmValue::~MwmValue() {}
405
406void MwmValue::SetTable(MwmInfoEx & info)
407{
408 m_ftTable = info.m_ftTable.lock();
409 if (!m_ftTable)
410 {
411 m_ftTable = feature::FeaturesOffsetsTable::Load(m_cont, FEATURE_OFFSETS_FILE_TAG);
412 info.m_ftTable = m_ftTable;
413 }
414
415 m_relTable = info.m_relTable.lock();
416 if (!m_relTable && m_cont.IsExist(RELATION_OFFSETS_FILE_TAG))
417 {
418 m_relTable = feature::FeaturesOffsetsTable::Load(m_cont, RELATION_OFFSETS_FILE_TAG);
419 info.m_relTable = m_relTable;
420 }
421}
422
423string DebugPrint(MwmSet::RegResult result)
424{

Callers 1

CreateValueMethod · 0.80

Calls 3

lockMethod · 0.80
IsExistMethod · 0.80
LoadFunction · 0.70

Tested by

no test coverage detected