| 206 | } |
| 207 | |
| 208 | void WorkingMemory::RecordAddition(WMElement* pWME) |
| 209 | { |
| 210 | // For additions, the delta list does not take ownership of the wme. |
| 211 | if (IsTrackingOutputLinkChanges()) |
| 212 | { |
| 213 | m_OutputDeltaList.AddWME(pWME) ; |
| 214 | } |
| 215 | |
| 216 | // Mark this wme as having just been added (in case the client would prefer |
| 217 | // to walk the tree). |
| 218 | pWME->SetJustAdded(true) ; |
| 219 | |
| 220 | // record timetag -> WME mapping for deletion lookup |
| 221 | m_TimeTagWMEMap[ pWME->GetTimeTag() ] = pWME; |
| 222 | } |
| 223 | |
| 224 | void WorkingMemory::RecordDeletion(WMElement* pWME) |
| 225 | { |
nothing calls this directly
no test coverage detected