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

Method OnTableChanged

src/plugin/kernel/src/AFCTable.cpp:344–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void AFCTable::OnTableChanged(uint32_t row, ArkTableOpType op_type)
345{
346 ARK_ASSERT_RET_NONE(table_meta_ != nullptr);
347
348 TABLE_EVENT_DATA xData;
349 xData.table_name_ = table_meta_->GetName();
350 xData.table_index_ = table_meta_->GetIndex();
351 xData.row_ = row;
352 xData.op_type_ = (size_t)op_type;
353
354 func_(table_meta_->GetMask(), nullptr, xData, AFCData(ArkDataType::DT_BOOLEAN, false),
355 AFCData(ArkDataType::DT_BOOLEAN, false));
356}
357
358// mask of row's nodes are not used yet
359int AFCTable::OnRowDataChanged(uint32_t row, AFINode* pNode, const AFIData& old_data, const AFIData& new_data)

Callers

nothing calls this directly

Calls 2

GetIndexMethod · 0.45
GetMaskMethod · 0.45

Tested by

no test coverage detected