MCPcopy Create free account
hub / github.com/Norbyte/ositools / AddRuleActionMappings

Method AddRuleActionMappings

OsiInterface/Debugger.cpp:60–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 {}
59
60 void RuleActionMap::AddRuleActionMappings(Node * node, Goal * goal, bool isInit, RuleActionList * actions)
61 {
62 auto head = actions->Actions.Head;
63 auto current = head->Next;
64 uint32_t actionIndex = 0;
65 while (current != head) {
66 ruleActionMappings_.insert(std::pair<RuleActionNode *, RuleActionMapping>(
67 current->Item,
68 { current->Item, node, goal, isInit, actionIndex }
69 ));
70 current = current->Next;
71 actionIndex++;
72 }
73 }
74
75 void RuleActionMap::UpdateRuleActionMappings()
76 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected