MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / OnTableDelete

Method OnTableDelete

src/plugin/kernel/src/AFClassCallBackManager.cpp:467–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467void AFClassCallBackManager::OnTableDelete(AFDelaySyncTable& table, const int row)
468{
469 auto iter = table.row_list_.find(row);
470 if (iter == table.row_list_.end())
471 {
472 AFDelaySyncRow row_data(row);
473 row_data.need_clear_ = true;
474
475 table.row_list_.insert(std::make_pair(row, row_data));
476 }
477 else
478 {
479 iter->second.need_clear_ = true;
480 iter->second.node_list_.clear();
481 }
482}
483
484void AFClassCallBackManager::OnTableRowUpdate(AFDelaySyncTable& table, const int row, AFINode* pNode)
485{

Callers

nothing calls this directly

Calls 4

findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected