MCPcopy Create free account
hub / github.com/SoarGroup/Soar / UpdateSymbol

Method UpdateSymbol

Core/ClientSML/src/sml_ClientIdentifier.cpp:250–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250void Identifier::UpdateSymbol(IdentifierSymbol* pSymbol)
251{
252 //std::string symString;
253 //m_pSymbol->DebugString(symString);
254 //std::cout << "UpdateSymbol for wme " << GetTimeTag() << " " << symString;
255
256 m_pSymbol->TransferChildren(pSymbol);
257
258 ReleaseSymbol();
259
260 m_pSymbol = pSymbol;
261 m_pSymbol->UsedBy(this) ;
262 RecordSymbolInMap();
263}
264
265Identifier::~Identifier(void)
266{

Callers 1

Calls 2

TransferChildrenMethod · 0.80
UsedByMethod · 0.80

Tested by

no test coverage detected