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

Function xml_create

Core/SoarKernel/src/xml.cpp:44–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42namespace stn = soar_TraceNames;
43
44void xml_create(agent* pAgent)
45{
46 if (!pAgent)
47 {
48 assert(pAgent);
49 return;
50 }
51
52 soarxml::XMLTrace* pTrace = new soarxml::XMLTrace();
53 soarxml::XMLTrace* pCommands = new soarxml::XMLTrace();
54
55 pAgent->xml_trace = static_cast< xml_handle >(pTrace);
56 pAgent->xml_commands = static_cast< xml_handle >(pCommands);
57
58 pAgent->xml_destination = pAgent->xml_trace;
59}
60
61void xml_reset(agent* pAgent)
62{

Callers 1

create_soar_agentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected