| 59 | } |
| 60 | |
| 61 | void xml_reset(agent* pAgent) |
| 62 | { |
| 63 | if (!pAgent || !pAgent->xml_trace || !pAgent->xml_commands) |
| 64 | { |
| 65 | assert(pAgent); |
| 66 | assert(pAgent->xml_trace); |
| 67 | assert(pAgent->xml_commands); |
| 68 | return; |
| 69 | } |
| 70 | |
| 71 | soarxml::XMLTrace* pTrace = static_cast< soarxml::XMLTrace* >(pAgent->xml_trace); |
| 72 | soarxml::XMLTrace* pCommands = static_cast< soarxml::XMLTrace* >(pAgent->xml_commands); |
| 73 | |
| 74 | pTrace->Reset(); |
| 75 | pCommands->Reset(); |
| 76 | } |
| 77 | |
| 78 | void xml_destroy(agent* pAgent) |
| 79 | { |
no test coverage detected