| 1930 | } |
| 1931 | |
| 1932 | bool AFCKernelModule::RowToPBData(AFIRow* pRow, const uint32_t index, AFMsg::pb_entity_data* pb_data) |
| 1933 | { |
| 1934 | ARK_ASSERT_RET_VAL(pRow != nullptr && index > 0 && pb_data != nullptr, false); |
| 1935 | |
| 1936 | auto pNodeManager = GetNodeManager(pRow); |
| 1937 | if (!pNodeManager) |
| 1938 | { |
| 1939 | return false; |
| 1940 | } |
| 1941 | |
| 1942 | auto& data_list = pNodeManager->GetDataList(); |
| 1943 | for (auto& iter : data_list) |
| 1944 | { |
| 1945 | NodeToPBData(iter.second, pb_data); |
| 1946 | } |
| 1947 | |
| 1948 | return true; |
| 1949 | } |
| 1950 | |
| 1951 | bool AFCKernelModule::TableRowDataToPBData( |
| 1952 | const uint32_t index, uint32_t row, const uint32_t col, const AFIData& data, AFMsg::pb_entity_data* pb_data) |
nothing calls this directly
no outgoing calls
no test coverage detected